Svelte: example app?

Created on 2 Dec 2016  Â·  9Comments  Â·  Source: sveltejs/svelte

Is there an example app besides the todo mvc app?

meta

Most helpful comment

charpeni/svelte-example

Rollup plugins

  • es output format
  • 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

All 9 comments

Would also like to see a barebones webpack example with code splitting as well. Since this functions quite a bit different to other frameworks would be interested to see how these all work together.

@EmilTholin kindly put together a sample app earlier today: https://github.com/EmilTholin/svelte-test. We definitely need to do more on that front though – a project starter template and possibly a more complex app e.g. the traditional Hacker News clone.

charpeni/svelte-example

Rollup plugins

  • es output format
  • 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

Any examples working in tandem with Google Closure Compiler, preferably all hooked up via rollup?

I wanna see how mean and lean we can get :)

I found this example for using a routing lib with svelte - https://github.com/Andorbal/svelte-router-example
anyone knows of a real world example that also include some CSS styling?

We can probably close this with https://github.com/sveltejs/svelte-hackernews being an official example app?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thoughtspile picture thoughtspile  Â·  3Comments

clitetailor picture clitetailor  Â·  3Comments

lnryan picture lnryan  Â·  3Comments

st-schneider picture st-schneider  Â·  3Comments

Rich-Harris picture Rich-Harris  Â·  3Comments