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

How to remove installed vue.js

藏色散人
藏色散人Original
2020-12-16 09:22:334161browse

删除安装的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

vue.js安装和卸载的命令

安装最新版本

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

卸载之前版本

npm uninstall vue-cli -g 
或 
yarn global remove vue-cli

查看

vue --version
或
vue -V

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!

Statement:
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
Previous article:Can vue.js be used on PC?Next article:Can vue.js be used on PC?