This project demonstrates creating and interacting with a ZingChart instance using Svelte. It's written using Svelte's starter template and svelte-router-spa.
You'll need an environment with node
and npm
installed.
After cloning this repository:
cd zingchart-svelte-demo
npm install
And then either
npm run dev
for development mode (watches for file changes and reloads the app automatically) or
npm run start
to just serve the app normally.
You should then be able to view the demo in your browser at localhost:5000
.
This project was bootstrapped with Svelte template via this sequence of commands:
npx degit sveltejs/template zingchart-svelte-demo
cd zingchart-svelte-demo
npm install svelte-router-spa
npm install -D @zingsoft/zingchart-svelte