Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/charpeni/svelte-example
- Owner: charpeni
- License: mit
- Created: 2016-12-04T16:22:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T17:43:49.000Z (over 7 years ago)
- Last Synced: 2024-10-28T03:40:16.191Z (3 months ago)
- Topics: babel, eslint, rollup, svelte, svelte-framework
- Language: HTML
- Homepage:
- Size: 76.2 KB
- Stars: 87
- Watchers: 5
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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