Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-project

webpack4.x 从 0 开始搭建的仿 vue-cli 脚手架

Build Setup

# 克隆项目
git clone https://github.com/Thor-1996/webpack-project.git

# 进入项目目录
cd webpack-project

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务
npm run serve

浏览器访问 http://localhost:8080

发布

# 构建生产环境
npm run build

About

从零开始的webpack脚手架项目

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages