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

document is not defined with nuxt #7

Open
freddy-daniel opened this issue Dec 8, 2020 · 0 comments
Open

document is not defined with nuxt #7

freddy-daniel opened this issue Dec 8, 2020 · 0 comments

Comments

@freddy-daniel
Copy link

freddy-daniel commented Dec 8, 2020

Unable to use with nuxt project wrapped by core ui

Getting issue document is not defined

Tried <client-only> tag in component

Added { src: '~/plugins/vue-chart.js', mode: 'client' } in nuxt.config.js

~/plugins/vue-chart.js

import Vue from 'vue';
import CoreuiVueCharts from '@coreui/vue-chartjs';
Vue.use(CoreuiVueCharts);

Error Screenshot

image

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