Skip to content

基于vue的gulp+webpack框架:开发模式下监测vue的变化并实时打包自动刷新浏览器;生产模式下则生成压缩版,并添加 md5

Notifications You must be signed in to change notification settings

Lingweifeng/ling.gulp-webpack-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基于vue的gulp和webpack开发框架

一.下载所有依赖包:

npm install --save-dev

二.进入开发模式:

gulp

或者

gulp --env dev

监测.vue文件,自动执行webpack打包文件到dev;同步监测html/js/css文件,自动刷新浏览器

三.进入打包模式,页面视图打包到dist文件夹;静态资源打包到dist/public文件夹:

gulp --env production

页面视图自动生成并引用压缩文件(js/css生成带md5后缀的静态文件引用)

About

基于vue的gulp+webpack框架:开发模式下监测vue的变化并实时打包自动刷新浏览器;生产模式下则生成压缩版,并添加 md5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published