idea 使用npm 在项目中安装vue

(1) 在电脑上安装的一个环境 nodejs

​ 

(2) 在idea中安装nodejs插件 (3) 创建一个static web项目

(4) 在idea下方 的Termnal 窗口中输入 npm init -y 初始化一个项目

(5) 安装vue,在idea下方 的Termnal 窗口中输入

​ npm install -g vue 全局安装

npm install vue 局部安装

​ npm uninstall vue 删除vue

​ npm update vue  更新vue

猜你喜欢

转载自www.cnblogs.com/bigbigxiao/p/11960011.html