Skip to content

Gardenliu/vue-webpack-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue.js + Webpack example

Note! This example has been updated to use Vue 0.12+ and makes use of the async components feature.

This example demonstrates using Webpack as the build tool for Vue.js apps, including:

  • Organize your app into views & components.
  • Directly require() CSS (Stylus) files and HTML templates via configured loaders.
  • Split your build into multiple chunks that are lazy-loaded.

Setup

npm install
npm run dev

Then serve the folder with a static HTTP server, e.g. python -m SimpleHTTPServer. This is necessary to enable lazy-loading of modules.

About

Vue.js + Webpack example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.3%
  • HTML 24.7%
  • CSS 16.0%