Skip to content

pp1232/vue-loader-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED, DO NOT USE

Deprecated in favor of vue-cli and webpack vue-cli template.

vue-loader example

Dependencies Dev Dependencies

Example using vue-loader with Webpack.

  • To understand how things work, read the docs for vue-loader.
  • To quickly scaffold new projects with recommended setups, use vue-cli.

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

About

Example using vue-loader with Webpack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.5%
  • Vue 22.4%
  • HTML 3.1%