Svelte + D3.js
Starter Svelte app with D3.js.
Installation
From either /start
or /end
:
Install the dependencies...
npm install
...and start Rollup:
npm run dev
The app will run with hot reloading on localhost:5000.
Building and running in production
To create an optimised version of the app:
npm run build
You can run the newly built app with npm run start
. This uses sirv, which is included in your package.json's dependencies
so that the app will work when you deploy to platforms like Heroku.