Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Latest commit

 

History

History

webpack-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WebPack搭建一个自带服务器的热更新项目

Demo初衷

还记得以前写html页面总是写一点内容,放在浏览器刷新一下,感觉着实痛苦,但是现在 不用了,有webpack作为热更新,还是蛮不错的,实时的检测css、js以及html Dom的变化 。

How To Use?

Install

npm i

Run Project

npm start

Build Project

npm run build

RequiredKit

  • webpack-cli
  • babel
  • webpack-dev-server
  • html-webpack-plugin
  • raw-loader
  • webpack.HotModuleReplacementPlugin

ProjectEffect

Testimonial

Wow, this is cool, isn't it, it can't be more cool!