Some examples to test the Svelte Framework.
Node 7 is strongly recommended.
Yarn is also available.
npm install
npm run build
Rollup will compile everything into dist
folder, open public/index.html
into your browser to see Svelte in action.
- Eslint
- Babel (presets: es2015 & stage-3)
- Svelte
- Hello World component with default data & Two-Way binding (input)
- Counter component with default data and
on:click
directive with an observer on this value - CatList and Cat components as nested components