vue-good-table icon indicating copy to clipboard operation
vue-good-table copied to clipboard

Add guidelines for integrating with nuxt-js

Open nimosunbit opened this issue 5 years ago • 3 comments

Would be very helpful if you add an example of how to integrate the package on nuxt-js.

nimosunbit avatar Aug 26 '19 15:08 nimosunbit

Yeah would be good. I don't use Nuxt though so maybe someone in the community can help.

xaksis avatar Aug 26 '19 15:08 xaksis

no one? i tried to integrate it with nuxt but the css won't load if I build it to production, however it works in dev mode, has someone experienced this? thanks

EDIT:

nvm it is because of my extractCSS config in my build nuxt.config.js I set it to false and the stylesheet seems to load correctly

ardasatata avatar Nov 13 '19 08:11 ardasatata

Do I need to wrap <vue-good-table> in a <client-only> tag if the plugin is only loaded on the client-side ? Seems like not wrapping it in <client-only> create hydration errors.

plugins: [
    { src: '@/plugins/vue-good-table.js', mode: 'client' },
],

mrleblanc101 avatar Oct 27 '21 17:10 mrleblanc101