svelte-draft-tutorial
svelte-draft-tutorial copied to clipboard
TypeScript version of examples in https://svelte.dev/tutorial
Svelte Draft Tutorial
This project is typescript version of examples in https://svelte.dev/tutorial, and is used to demonstrate how to use svelte-draft to develop svelte app with full power of typescript.
Online playground: https://codesandbox.io/s/svelte-draft-tutorial-22mdl
Run
> npm install
Use rollup
> npm run dev
Use webpack
> npm run webpack:dev
Change path in main.ts to switch to another example, default one is:
import App from './examples/10-transitions/custom-css-transitions/App';
License
This project is MIT licensed.