A simple pancake example that has been presented at Svelte Society Day France.
⚡ JavaScript-free demo of the result
Install the dependencies...
cd svelte-app
npm install
...then start Rollup:
npm run dev
Navigate to localhost:5000. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.
To create a JavaScript-free version of the chart in build/web
, run:
npm run build
Sindre Sorhus discovered that SVGs with HTML/CSS inside can be embedded in GitHub READMEs.
The trick is based on SVG's obscure <foreignObject> element and makes it possible to show a responsive version of the chart right here.
This is probably not a good idea, but here goes: