Home > Web Front-end > Vue.js > body text

How to uninstall vue.js using npm

王林
Release: 2020-11-30 11:17:26
Original
4649 people have browsed it

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
Copy after login
Copy after login

(Learning video sharing: javascript video tutorial)

vue.js installation and uninstallation commands:

Install the latest version

npm install -g @vue/cli
Copy after login

Or

yarn global add @vue/cli
Copy after login

Uninstall the previous version

npm uninstall vue-cli -g
Copy after login
Copy after login

or

yarn global remove vue-cli
Copy after login

View

vue --version
Copy after login

or

vue -V
Copy after login

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!

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