Awesome
Svelte Summit 2020 Website
Install the dependencies:
npm install # or just yarn
Start Project:
npm start
Navigate to localhost:3000. You should see your app running.
Development:
For development, we recommend running two separate terminals. One for the server and the other for rollup (note that this command does not have an explicit npm start
command for this reason).
Terminal 1
npm run dev:server # `npm start` above starts a server, but doesn't rebuild your Svelte components on change.
Terminal 2
npm run dev:rollup # This rebuilds your svelte components on change.
Once you have these two terminals open, edit a component file in src
, save it, and reload the page to see your changes.
To Build HTML:
npm run build
This will build all of your html into the /public/ folder.