Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot load Plugins when using buildDir #14

Open
asyrafduyshart opened this issue Aug 16, 2018 · 3 comments
Open

Cannot load Plugins when using buildDir #14

asyrafduyshart opened this issue Aug 16, 2018 · 3 comments

Comments

@asyrafduyshart
Copy link

My nuxt.config snippet
build: { publicPath: "/assets/", extractCSS: true, /* ** Run ESLint on save */ extend(config, ctx) { if (ctx.isDev && ctx.isClient) { // config.module.rules.push({ // enforce: 'pre', // test: /\.(js|vue)$/, // loader: 'eslint-loader', // exclude: /(node_modules)/ // }) } } }, buildDir: "../prod/server/nuxt", plugins: ['~/plugins/script'],

It's work normally when using not adding buildDir, but we cannot deploy to firebase,
But when adding it will result this error:
screenshot from 2018-08-16 18-17-07

My Plugins
`import Vue from 'vue'
import VS2 from 'vue-script2'

Vue.use(VS2)
`
This is only happen when integrate with Firebase SSR,

Thanks

@WeAspireDev
Copy link

Hi @asyrafduyshart Were you able to solve this problem? I am facing the same issue.

@gofreddo
Copy link

gofreddo commented Dec 4, 2018

+1

1 similar comment
@Omintoblake
Copy link

+1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants