vue-match-heights icon indicating copy to clipboard operation
vue-match-heights copied to clipboard

how to use this module in nuxt.js?

Open Tokyodays opened this issue 6 years ago • 1 comments

hi. how to use this module in nuxt.js?

Tokyodays avatar May 05 '19 11:05 Tokyodays

Create a plugin in ~/plugins/vue-match-heights.js that adds the directive to Vue. Then register the script in your nuxt.config.js file like

{
...
  plugins: [
    { src: '~/plugins/vue-match-heights', ssr: false } , 
  ],
...
}

thelucre avatar Jul 03 '19 17:07 thelucre