Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/charpeni/svelte-example

:rocket: :books: Some examples to test the Svelte Framework
https://github.com/charpeni/svelte-example

babel eslint rollup svelte svelte-framework

Last synced: about 2 months ago
JSON representation

:rocket: :books: Some examples to test the Svelte Framework

Awesome Lists containing this project

README

        

# Svelte Example

Some examples to test the [Svelte Framework](https://svelte.technology/).

## Installation

Node 7 is strongly recommended.

[Yarn](https://yarnpkg.com/) 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