Vue 3.0 + vite 创建项目
1.全局安装vite : yarn global add create-vite-app
-
创建项目 : cva vue3-deom 或者 create-vite-app vue3-deom
-
切换到 vue3-deom 安装模块包 注意:用 yarn install npm 会报错
-
运行项目 yarn dev
-
目前vite 创建vue项目 router vuex 这些东西需要自己下载 npm install …
Vue 3.0 + vite 创建项目
1.全局安装vite : yarn global add create-vite-app
创建项目 : cva vue3-deom 或者 create-vite-app vue3-deom
切换到 vue3-deom 安装模块包 注意:用 yarn install npm 会报错
运行项目 yarn dev
目前vite 创建vue项目 router vuex 这些东西需要自己下载 npm install …