SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
Hello guys,
Can you provide an example how to implement scichart on SSR Frameworks like Nuxt or Next.js ? I am trying to understand how i can compile a simple chart using Nuxt, getting the .data/.wasm file but i have problem after building process.
Can you help?
Many thanks
Pedro Cruz
Hi Pedro,
SciChart.js support for Server Side Frameworks like Next.js and Nuxt.js is pretty straightforward. The most important is to copy scichart2d.wasm and scichart2d.data files into the appropriate place.
scichart2d.wasm should be placed in the same folder as bundle.js/main.js file and scichart2d.data should go to the server root folder.
Another way is to place both files into the server root folder and to set HTML base tag
<base href="/">
We have created an example for Next.js, please check it out here – SciChart.js example with Next.js
I believe that for Nuxt.js it should be similar.
Another
Best regards,
Michael
Please login first to submit.