{
"name": "hami222",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build"
},
"dependencies": {
"vue": "^3.0.4"
},
"devDependencies": {
"vite": "^1.0.0-rc.13",
"@vue/compiler-sfc": "^3.0.4"
}
}
用npm init @vitejs/app也不行
ivyone@ivyonedeMacBook-Pro hami222 % npm init @vitejs/app
Need to install the following packages:
@vitejs/create-app
Ok to proceed? (y) y
✔ Project name: · hami225
Scaffolding project in /Users/ivyone/hami222/hami225...
✔ Select a template: · vue
Done. Now run:
cd hami225
npm install
npm run dev
i