vue-magic-grid icon indicating copy to clipboard operation
vue-magic-grid copied to clipboard

Breaks build with Nuxt 2.4.5 ("SyntaxError: Unexpected identifier")

Open simonhermann opened this issue 5 years ago • 1 comments

as soon as I import MagicGrid as plugin, nuxt dev build breaks. Error: SyntaxError: Unexpected identifier

Any ideas what's going on?

simonhermann avatar Mar 24 '19 17:03 simonhermann

There may not be enough transpile settings.

build: {
    /*
     ** You can extend webpack config here
     */
    transpile: ['vue-magic-grid'],

https://nuxtjs.org/guide/plugins/#es6-plugins

svjunic avatar Nov 01 '19 14:11 svjunic