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

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

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).