Home > Web Front-end > Vue.js > How to remove installed vue.js

How to remove installed vue.js

藏色散人
Release: 2023-01-13 00:44:57
Original
4260 people have browsed it

删除安装的vue.js的方法:首先打开命令窗口;然后通过运行“npm uninstall vue-cli -g”或者“yarn global remove vue-cli”命令卸载vue.js即可。

How to remove installed vue.js

本教程操作环境:windows7系统、vue2.0版本,该方法适用于所有品牌电脑。

推荐:《vue教程

删除安装的vue.js,用npm卸载vue.js

可以运行下面的命令来使用npm来卸载vue.js:

npm uninstall vue-cli -g
Copy after login

vue.js安装和卸载的命令

安装最新版本

npm install -g @vue/cli
或
yarn global add @vue/cli
Copy after login

卸载之前版本

npm uninstall vue-cli -g 
或 
yarn global remove vue-cli
Copy after login

查看

vue --version
或
vue -V
Copy after login

npm介绍

npm(全称 Node Package Manager,即“node包管理器”)是Nodejs默认的、以JavaScript编写的软件包管理系统。通过npm可以安装、共享、分发代码,管理项目依赖关系。

The above is the detailed content of How to remove installed vue.js. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template