makeng / vue-toy

A simplified Vuejs. Just for fun.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack Hot Middleware Example

  • Install deps

NOTE:

You shoude execute npm install command in parent folder first. Then run this command once again in examples/ folder.

npm install
  • Start server
npm start
  • Open page in browser http://localhost:1616
  • Open the developer console
  • Edit client.js & save
  • Watch the page reload
  • Also try making a syntax error in client.js.

Multiple Entry Points Example

There is also an example for multiple entry points in webpack.

npm run start:multientry

About

A simplified Vuejs. Just for fun.


Languages

Language:JavaScript 95.1%Language:Shell 2.7%Language:HTML 2.2%