JSPM

vue-loader

9.5.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3356719
  • Score
    100M100P100Q192394F
  • License MIT

Vue.js component loader for Webpack

Package Exports

  • vue-loader
  • vue-loader/lib/gen-id
  • vue-loader/lib/parser
  • vue-loader/lib/style-rewriter
  • vue-loader/lib/template-compiler
  • vue-loader/package
  • vue-loader/package.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vue-loader Build Status npm package

Vue.js component loader for Webpack.

NOTE: the master branch now hosts 9.x which only works with Vue 2.0. For version 8.x which works with Vue 1.x, see the 8.x branch.

It allows you to write your components in this format:

screenshot

The best way to get started is with vue-cli:

npm install -g vue-cli
vue init webpack-simple hello
cd hello
npm install
npm run dev

This will setup a basic Webpack + vue-loader project for you, with *.vue files and hot-reloading working out of the box!

For advanced vue-loader configuration, checkout the documentation.