vue3-apexcharts icon indicating copy to clipboard operation
vue3-apexcharts copied to clipboard

CDN version for use in <script> element in html page

Open wdporter opened this issue 3 years ago • 6 comments

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?

wdporter avatar Jan 28 '22 05:01 wdporter

I'm also trying to include vue3-apexcharts as an component just using the CDN version and a

Moartl31 avatar Oct 18 '22 18:10 Moartl31

I require this to work also, no idea why this isn't already a thing.

DeltaTUF avatar Nov 21 '22 22:11 DeltaTUF

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.

jobdiogenes avatar Feb 08 '23 17:02 jobdiogenes

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.

Moartl31 avatar Feb 12 '23 07:02 Moartl31

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.

jobdiogenes avatar Feb 22 '23 16:02 jobdiogenes

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

PingoLee avatar May 17 '23 19:05 PingoLee