You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/installation.md
+2-8Lines changed: 2 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ Vue projects can quickly be set up with Vite by running the following commands i
97
97
With npm:
98
98
99
99
```bash
100
-
$ npm init @vitejs/app<project-name>
100
+
$ npm init vite<project-name> -- --template vue
101
101
$ cd<project-name>
102
102
$ npm install
103
103
$ npm run dev
@@ -106,18 +106,12 @@ $ npm run dev
106
106
Or with Yarn:
107
107
108
108
```bash
109
-
$ yarn create @vitejs/app<project-name>
109
+
$ yarn create vite<project-name> --template vue
110
110
$ cd<project-name>
111
111
$ yarn
112
112
$ yarn dev
113
113
```
114
114
115
-
It might occur, that when your username has a space in it like 'Mike Baker', Vite cannot succeed. Have a try with
116
-
117
-
```bash
118
-
$ create-vite-app <project-name>
119
-
```
120
-
121
115
## Explanation of Different Builds
122
116
123
117
In the [`dist/` directory of the npm package](https://cdn.jsdelivr.net/npm/vue@3.0.2/dist/) you will find many different builds of Vue.js. Here is an overview of which `dist` file should be used depending on the use-case.
0 commit comments