Skip to content

kkcode24/webpack-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-demo

webpack-practice webpack学习在线书籍:深入浅出Webpack

How to use

First, install Webpack and webpack-dev-server globally.

$ npm i -g webpack@1.0.5 webpack-dev-server@1.0.2

Then, clone the repo.

$ git clone https://github.com/kkcode24/webpack-demo.git

Install the dependencies.

$ cd webpack-demo
$ npm install

Now, play with the source files under the repo's demo* directories.

$ cd demo01
$ npm run dev

If the above command doesn't open your browser automaticly, you have to visit http://127.0.0.1:8080 by yourself.

webpack-guide-wiki

webpack-guide-wiki