Skip to content

Commit fdb758a

Browse files
authored
docs(create-vite): provide deno example (#20747)
1 parent 4a40a8e commit fdb758a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

packages/create-vite/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ With Bun:
2929
bun create vite
3030
```
3131

32+
With Deno:
33+
34+
```bash
35+
deno init --npm vite
36+
```
37+
3238
Then follow the prompts!
3339

3440
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue project, run:
@@ -45,6 +51,9 @@ pnpm create vite my-vue-app --template vue
4551

4652
# Bun
4753
bun create vite my-vue-app --template vue
54+
55+
# Deno
56+
deno init --npm vite my-vue-app --template vue
4857
```
4958

5059
Currently supported template presets include:

packages/vite/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# vite
1+
# Vite
22

33
> Next Generation Frontend Tooling
44

0 commit comments

Comments
 (0)