Home  >  Article  >  Web Front-end  >  How to uninstall vue.js using npm

How to uninstall vue.js using npm

王林
王林Original
2020-11-23 10:51:504608browse

The way to uninstall vue.js with npm is to uninstall it by executing the [npm uninstall vue-cli -g] command. If we want to install the latest version of vue.js, we can execute the [npm install -g @vue/cli] command.

How to uninstall vue.js using npm


The operating environment of this tutorial: Windows 10 system, Vue version 2.9.6. This method is suitable for all brands of computers.

The method to uninstall vue.js using npm is:

Solution:

Run the following command to uninstall vue.js:

npm uninstall vue-cli -g

(Learning video sharing: javascript video tutorial)

vue.js installation and uninstallation commands:

Install the latest version

npm install -g @vue/cli

Or

yarn global add @vue/cli

Uninstall the previous version

npm uninstall vue-cli -g

or

yarn global remove vue-cli

View

vue --version

or

vue -V

Related recommendations: vue.js tutorial

The above is the detailed content of How to uninstall vue.js using npm. 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