Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1018 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 1018 Bytes

vue-loader example

Dependencies Dev Dependencies

Example using vue-loader with Webpack.

Topics Covered

  • Using vue-loader with hot reload for development
  • Configuring Webpack loaders
  • Building for production with minification
  • Linting JavaScript inside *.vue files with ESLint
  • Testing *.vue components with Karma + Jasmine in PhantomJS

Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run unit tests
npm test

For detailed explanation on how things work, read the docs for vue-laoder.