vue3的一些终端代码

作者: gu_lao_rou-p 分类: Vue3 发布时间: 2022-01-06 18:19

显示当前的镜像网址

npm get registry 

使用淘宝的镜像网址(速度更快)

npm config set registry http://registry.npm.taobao.org

查看vue版本(两个都可以)

vue --version
vue -V

下载vue cli版本

npm install -g @vue/cli
//下载指定版本
npm install -g @vue/cli@4.5.9
npm install -g @vue/cli@4.5.11

创建vue cli文件

vue create 【名称】

创建好vue cli文件后需进入vue cli文件,然后才能启动文件

//进入文件
cd 【名称】
//运行vue cli文件
npm run serve

Warning: Undefined variable $aria_req in /www/wwwroot/l.lvovl.cn/wp-content/themes/JieStyle-Two-master/comments.php on line 26

Warning: Undefined variable $aria_req in /www/wwwroot/l.lvovl.cn/wp-content/themes/JieStyle-Two-master/comments.php on line 27

Warning: Undefined variable $aria_req in /www/wwwroot/l.lvovl.cn/wp-content/themes/JieStyle-Two-master/comments.php on line 28
标签云