Looking for the official Svelte template? Go here --> github.com/sveltejs/template
This web application template was put together with Svelte 3 and Tailwind.
[~] npm i -g degit
[~] npx degit tobius/svelte-template app && cd app
[~/app] npm i
[~/app] npm run dev
- Open localhost:5000
- Edit a component file in
src
- Save it (the browser will reload automatically)
Every environment is different, but the same basic steps exist for all:
- Point your preinstall command at
npm run build
- Point your start command at
npm run start