We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window is not defined js error with nuxt and plugins (example )
window is not defined
"nuxt": "^2.15.3", "@braid/vue-formulate": "^2.5.3", "@cone2875/vue-formulate-select": "^0.1.9", "vue-select": "^3.20.0",
If you install vue-formulate for nuxt as documented
nuxt.config.js
buildModules: [ // https://vueformulate.com/guide/installation/#nuxt '@braid/vue-formulate/nuxt', ]
If you add the vue-formulate-select plugin
formulate.config.js
import FormulateVSelectPlugin from '@cone2875/vue-formulate-select' export default { plugins: [FormulateVSelectPlugin] }
you'll get a window is not defined js error
You may register vue-formulate nuxt plugin in client mode only
client
node_modules/@braid/vue-formulate/nuxt/index.js
this.addPlugin({ src: path.resolve(__dirname, 'plugin.js'), options: formulateOptions, mode: 'client' })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
window is not defined
js error with nuxt and plugins (example )If you install vue-formulate for nuxt as documented
nuxt.config.js
If you add the vue-formulate-select plugin
formulate.config.js
you'll get a
window is not defined
js errorYou may register vue-formulate nuxt plugin in
client
mode onlynode_modules/@braid/vue-formulate/nuxt/index.js
The text was updated successfully, but these errors were encountered: