vue-apexcharts
vue-apexcharts copied to clipboard
Nuxt / vue-apexcharts in static mode
Is there a way to display charts when i generated static files in Nuxt? i have blank page ... apex.js `import Vue from 'vue' import ApexChart from 'vue-apexcharts'
Vue.component('Apexchart', ApexChart)
nuxt-config
plugins: [
{ src: '~/plugins/apex.js', ssr: false }
],`
@npltr62 have you tried one of these solutions?
https://github.com/apexcharts/vue-apexcharts/issues/34#issuecomment-544191308
@rmarmitt yes but when i switched ssr in true , I had the same issue and error "Windows undefined" it seems apexcharts doesn't render on server side
Can you provide the .vue file of apexchart section?
Have you added <client-only>
as apex wrapper?
try this first issues/34#issuecomment i hope this closed your issue