From 63d7889b9d8f20635ba389a211af8cd6160a2755 Mon Sep 17 00:00:00 2001 From: Han Han Date: Mon, 18 Jan 2021 18:11:06 +0800 Subject: [PATCH] Use `@vitejs/app` instead of `vite-app` When I use `vite-app`, `Tailwind CSS` can't work. And I see on the website of `vite`, now they use `@vitejs/app`. --- src/guide/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guide/installation.md b/src/guide/installation.md index 282241dd23..d4cb61c7b0 100644 --- a/src/guide/installation.md +++ b/src/guide/installation.md @@ -76,7 +76,7 @@ Vue projects can quickly be set up with Vite by running the following commands i With npm: ```bash -$ npm init vite-app +$ npm init @vitejs/app $ cd $ npm install $ npm run dev @@ -85,7 +85,7 @@ $ npm run dev Or with Yarn: ```bash -$ yarn create vite-app +$ yarn create @vitejs/app $ cd $ yarn $ yarn dev