How to uninstall vuejs

青灯夜游
Release: 2021-10-08 09:15:22
Original
2760 people have browsed it

How to uninstall vuejs: 1. Open the cmd command window; 2. In cmd, execute the "npm uninstall -g @vue/cli" or "yarn global remove @vue/cli" command to uninstall vuejs .

How to uninstall vuejs

The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.

To uninstall vuejs, you need to use npm or yarn tools. Method:

1. Open the cmd command window

2. In cmd, Run the following command to uninstall vue.js:

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

Note:

The package name of Vue CLI has been changed from vue-cli to @vue/cli.

If an old version of vue-cli (1.x or 2.x) has been installed globally, you need to passnpm uninstall vue-cli -goryarn global remove vue- cliUninstall the old version

Install vuejs (cli3)

Installation command:

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

Installation error problem:

How to uninstall vuejs

Solution:

Delete node_modules in the file path named in no such file or directory, access and then reinstall it

Related recommendations:《vue.js tutorial

The above is the detailed content of How to uninstall vuejs. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!