Home > Web Front-end > JS Tutorial > body text

Quickly solve the problem that vue-cli cannot initialize the webpack template

亚连
Release: 2018-05-25 17:21:09
Original
1238 people have browsed it

Below I will share with you a quick solution to the problem that vue-cli cannot initialize the webpack template. It has a good reference value and I hope it will be helpful to everyone.

vue init webpack pro [Failed to download repo] [connect ETIMEDOUT 192.30.255.112]

reported this error

Some people say it is an agency problem. I don’t understand either, but this method works

1. Download the template to be initialized from github https://github.com/vuejs-templates/webpack

or use git to clone directly The template you want.

2. Unzip the downloaded template. There is no need to unzip the git clone.

3. Place the folder under the c:administrator/.vue-templates folder

The preparations are done

4. Then do whatever you have to do. Execute vue init under your project file (project-name) –offline

The above is what I compiled for everyone. I hope it will be helpful to everyone in the future.

Related articles:

Two solutions for Ajax opening a new window and being intercepted by the browser

Ajax submission form page Solution to refresh quickly

Ajax post request jump page

The above is the detailed content of Quickly solve the problem that vue-cli cannot initialize the webpack template. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!