https://github.com/mistlog/svelte-draft-tutorial
TypeScript version of examples in https://svelte.dev/tutorial
https://github.com/mistlog/svelte-draft-tutorial
Last synced: 5 months ago
JSON representation
TypeScript version of examples in https://svelte.dev/tutorial
- Host: GitHub
- URL: https://github.com/mistlog/svelte-draft-tutorial
- Owner: mistlog
- License: mit
- Created: 2020-02-13T00:02:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T07:14:14.000Z (almost 3 years ago)
- Last Synced: 2023-03-02T23:01:15.404Z (almost 3 years ago)
- Language: TypeScript
- Size: 576 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/mistlog/svelte-draft) to develop svelte app with full power of typescript.
Online playground: https://codesandbox.io/s/svelte-draft-tutorial-22mdl
## Run
```shell
> npm install
```
### Use rollup
```shell
> npm run dev
```
### Use webpack
```shell
> npm run webpack:dev
```
Change path in ```main.ts``` to switch to another example, default one is:
``` typescript
import App from './examples/10-transitions/custom-css-transitions/App';
```
## License
This project is [MIT licensed](https://github.com/mistlog/svelte-draft-tutorial/blob/master/LICENSE).