xiongyaokun / vue-webpack-example

Vue.js + Webpack example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue.js + Webpack example

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


Languages

Language:JavaScript 65.3%Language:HTML 20.0%Language:CSS 14.7%