Skip to content

๐Ÿš€ ๐Ÿ“š Some examples to test the Svelte Framework

License

Notifications You must be signed in to change notification settings

charpeni/svelte-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3b26d47 ยท Oct 17, 2017

History

15 Commits
Oct 17, 2017
Dec 4, 2016
Oct 17, 2017
Dec 4, 2016
Dec 4, 2016
Mar 12, 2017
Dec 4, 2016
Mar 12, 2017
Oct 17, 2017
Oct 17, 2017
Oct 17, 2017
Oct 17, 2017

Repository files navigation

Svelte Example

Some examples to test the Svelte Framework.

Installation

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.

Rollup plugins

  • Eslint
  • Babel (presets: es2015 & stage-3)
  • Svelte

Available examples

  • 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