CDN version for use in <script> element in html page
I do all my work in a cms, so it's not possible to use build tools. I have to include it vue3-apexcharts with a script element and use it from there. I don't see there's an option for that here. Can that be provided, or can someone explain how to get that going?
I'm also trying to include vue3-apexcharts as an component just using the CDN version and a
I require this to work also, no idea why this isn't already a thing.
In general all packages that you can install by npm, could get a CDN by unpkg.com or by cdn.jsdelivr.net
But, I try and give an error: "VueApexCharts" is not defined.
If someone had success tell how, please.
In general all packages that you can install by npm, could get a CDN by unpkg.com or by cdn.jsdelivr.net
But, I try and give an error: "VueApexCharts" is not defined.
If someone had success tell how, please.
I've seen that @wdporter created a fork which has the option to include it via
Not sure if it works as I didn't try it. I've switched to Vue-Echarts due to this missing CDN option, which works fine.
Vue-Echarts
In general all packages that you can install by npm, could get a CDN by unpkg.com or by cdn.jsdelivr.net But, I try and give an error: "VueApexCharts" is not defined. If someone had success tell how, please.
I've seen that @wdporter created a fork which has the option to include it via
Not sure if it works as I didn't try it. I've switched to Vue-Echarts due to this missing CDN option, which works fine. Thanks to your answer.
I end up choose Vue chartkick with Chartjs lib. When I read your answers I take a look too Vue-Echarts. I don't look deep as my needs is basic, then my primary complain is size footprint. Vue Chart Kick with ChartJs, needs 4 script src, totaling 496K Vue Echarts 2 script src, are 1011K
So I stay with Chartkick.
Vue-Echarts I've seen that @wdporter created a fork which has the option to include it via
It doesn't work to me, the error "module is not defined" appears