create-vue是Vue官方新的脚手架工具
前提条件:
已安装16.0或更高版本的Node.js (node -v查看)
创建一个Vue应用
npm init vue@latest
这一指令会帮我们安装并执行create-vue

cd vue-project
npm install ------ 安装依赖
npm run dev

create-vue是Vue官方新的脚手架工具
前提条件:
已安装16.0或更高版本的Node.js (node -v查看)
创建一个Vue应用
npm init vue@latest
这一指令会帮我们安装并执行create-vue
cd vue-project
npm install ------ 安装依赖
npm run dev