Skip to content

Commit

Permalink
docs: document preact templates
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 8, 2021
1 parent 404a705 commit 9426a0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@ npm init @vitejs/app my-vue-app --template vue

Supported template presets include:

- `vanilla`
- `vue`
- `vue-ts`
- `react`
- `react-ts`
- `preact`
- `preact-ts`

See [@vitejs/create-app](https://github.com/vitejs/vite/tree/main/packages/create-app) for more details on each template.

Expand Down
2 changes: 2 additions & 0 deletions packages/create-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ Currently supported template presets include:
- `vue-ts`
- `react`
- `react-ts`
- `preact`
- `preact-ts`

0 comments on commit 9426a0b

Please # to comment.