Basic setup for a Svelte app with examples from the Svelte guide as demo.
Uses PostCSS for CSS @import and custom properties support.
Development requires Node.js and yarn (alternatively you can use npm).
After installing dependencies using yarn install the following scripts are available:
yarn ... |
Description |
|---|---|
build |
Builds app into dist/. |
dev |
Starts dev server and file watchers (start and watch). |
start |
Starts dev server on http://localhost:7858 ("svlt" in T9). |
watch |
Watches and rebuilds app on file changes. |