svelte-d3-template Svelte Themes

Svelte D3 Template

A template to build apps with Svelte ❤️ D3

Svelte-D3-app template

Template based on the official Svelte app template

Get it

npx degit higsch/svelte-d3-template app
cd svelte-app

Start it

cd app
npm install
npm run dev

Navigate to localhost:5000. You should see your app running.

Build it

npm run build

Deploying it

With Vercel

Install vercel if you haven't already:

npm install -g vercel

Then, from within your project folder:

cd public
vercel deploy --name my-project

With surge

Install surge if you haven't already:

npm install -g surge

Then, from within your project folder:

npm run build
surge public my-project.surge.sh

Top categories

Loading Svelte Themes