-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
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 when importing createTags when using Nuxt #138
Comments
Why is it closed? What is the solution? |
@Stalex89, could you share what was your solution? |
I had a similar issue:
This code with Laravel mix to compile my assets, generate error
to replace window.Vue inside the code of the library. |
1 similar comment
I had a similar issue:
This code with Laravel mix to compile my assets, generate error
to replace window.Vue inside the code of the library. |
I'm using Nuxt in my project and I want to create a button item in autocomplete list to manually create a tag
I'm trying to use
import createTag from '@johmun/vue-tags-input';
in my Vue component, but it gives me an errorReferenceError: window is not defined.
. My component is wrapped in client-only tag and render mode for plugin is set to client.Can you tell me please where can be reason of this problem?
my
TagField.vue
component:nuxt.config.js
plugins/vue-tags-input.js
The text was updated successfully, but these errors were encountered: