Issue with using ApexCharts (solid-apexcharts) in Start
I'm having trouble with @wobsoriano's solid-apexcharts package in SolidStart. We're getting a weird "export" error when loaded. The package seems to be exported properly for for cjs and such so I don't easily see what the problem is.
I put together a recreation to tinker with: https://stackblitz.com/edit/github-eq59tk?file=src%2Froutes%2Findex.tsx,vite.config.ts
StackBlitz
apex-chart-solid-start - StackBlitz
Run official live example code for Solid-start With Tailwindcss, created by Solidjs on StackBlitz
6 Replies
Hey Dave, Ill take a look asap ๐
I appreciate you
Apexcharts has some weird exports, and works only when you make it a
unstable_clientOnly
component. Same issue here - https://github.com/wobsoriano/solid-apexcharts/issues/1GitHub
Unexpected token "export" ยท Issue #1 ยท wobsoriano/solid-apexcharts
Thanks for creating this for SolidJS! I am using the SolidStart project (https://start.solidjs.com) to create my local project. When adding your package to the project and using the example from yo...
@ladybluenotes have a look.
@wobsoriano thanks! ๐
always! ๐