Skip to content
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

Getting error: "Document is not defined" #83

Open
angelocapone opened this issue May 19, 2019 · 0 comments
Open

Getting error: "Document is not defined" #83

angelocapone opened this issue May 19, 2019 · 0 comments

Comments

@angelocapone
Copy link

Right after adding the following in my main.js
import Vue from 'vue'
import Notifications from 'vue-notification'
Vue.use(Notifications)

I’m getting a Chrome error “Document is not defined
node_modules\vue-notification\dist\index.js
on line 982

980 function addStyle (obj /* StyleObjectPart */) {
981 var update, remove
982 var styleElement = document.querySelector('style[data-vue-ssr-id~="' + obj.id + '"]')

I’m using Nuxt.js
I appreciate any help on this.

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

No branches or pull requests

1 participant