Template based on the official Svelte app template
npx degit higsch/svelte-d3-template app
cd svelte-app
cd app
npm install
npm run dev
Navigate to localhost:5000. You should see your app running.
npm run build
Install vercel if you haven't already:
npm install -g vercel
Then, from within your project folder:
cd public
vercel deploy --name my-project
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