In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what is the content of cli in the front end of web", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what are the contents of cli in the front end of web?"
Command line interface (English: command-lineinterface, abbreviation: CLI) is the most widely used user interface before the popularity of graphical user interface. It usually does not support the mouse. Users enter instructions through the keyboard, and the computer receives the instructions and executes them. Some people call it a character user interface (CUI).
Vue-cli installation and version view update
Vue-cli installation
Npminstallvue-cli-g
View the version of vue-cli
Vue-V
Vue-cli 3.0 + will no longer use vue-cli. If you use the above installation command, you will not install the latest version 3.0 +, but if you install 3.0, you will need to use the new
If you have already installed vue-cli, you need to uninstall the original installation first.
Npmuninstallvue-cli-g
Installation and use of vue/cli4
1: if you have installed vue-cli2, you must uninstall it first. The command is as follows
/ / first check to see if vul-cli has been installed
Vue-V
/ / if so, uninstall it with the following command
Npmuninstallvue-cli-g
2: install vue-cli4.0.5
/ / one click to initialize the project
Npminit-y
/ / install vue-cli
/ / you can also use cnpm to install, which is faster.
3: create a project
/ / 1. Order enter
Vuecreate project name
/ / 2. Select Custom configuration Manuallyselectfeatures
/ / 3. Choose the configuration you need
Babel (required)
TypeScript (check if ts development is used in the project)
ProgressiveWebApp (PWA) Support (interface cache, optimization project)
Router
Vuex
CssPre-processors (css preprocessor, required)
Linter/Formatter (code format, usually selected by default)
UnitTesting (code testing)
E2ETesting (requirements Interface Test)
/ / 4. Select YUnip N according to the configuration you choose.
/ / 5. After you have selected, you can run the project
Npmrunserve
At this point, I believe you have a deeper understanding of "what is the content of cli in the front end of web?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.