Skip to content

Commit 799d160

Browse files
docyxnaokie
authored andcommitted
chore: update installation instructions for Vite (#1138)
* chore: update deprecated Vite installation instructions for the installation guide * chore: remove mention of deprecated `create-vite-app`
1 parent f9f13c5 commit 799d160

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/guide/installation.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ vue upgrade --next
9797
npm の場合:
9898

9999
```bash
100-
$ npm init @vitejs/app <プロジェクト名>
100+
$ npm init vite <プロジェクト名> -- --template vue
101101
$ cd <プロジェクト名>
102102
$ npm install
103103
$ npm run dev
@@ -106,18 +106,12 @@ $ npm run dev
106106
または Yarn の場合:
107107

108108
```bash
109-
$ yarn create @vitejs/app <プロジェクト名>
109+
$ yarn create vite <プロジェクト名> --template vue
110110
$ cd <プロジェクト名>
111111
$ yarn
112112
$ yarn dev
113113
```
114114

115-
ユーザ名に「Mike Baker」のように空白が入っていると、 Vite が成功しないことがあります。次を試してみてください。
116-
117-
```bash
118-
$ create-vite-app <プロジェクト名>
119-
```
120-
121115
## さまざまなビルドについて
122116

123117
[npm パッケージの `dist/` ディレクトリ](https://cdn.jsdelivr.net/npm/vue@3.0.2/dist/) には、Vue.js の多くのさまざまなビルドが見つかります。利用用途ごとに `dist` ファイルの使い分けの概要を説明します。

0 commit comments

Comments
 (0)