vue项目从安装到使用
1、去node.js官网下载node.js,
2、运行cmd 安装vue,
npm install vue
3、安装cli脚手架
npm install -g @vue/cli
4、创建一个新的vue项目
vue create hello-world
5、进入项目
cd hello-world
6、运行项目
npm run serve
已有项目安装依赖(进入目录运行命令)
npm install
vue项目从安装到使用
1、去node.js官网下载node.js,
2、运行cmd 安装vue,
npm install vue
3、安装cli脚手架
npm install -g @vue/cli
4、创建一个新的vue项目
vue create hello-world
5、进入项目
cd hello-world
6、运行项目
npm run serve
已有项目安装依赖(进入目录运行命令)
npm install