vue-loader
Vue single-file component loader for Webpack
Last updated a month ago by soda .
MIT · Bugs · Original npm · Tarball · package.json
$ cnpm install vue-loader 
SYNC missed versions from official npm registry.

vue-loader Build Status Windows Build status

webpack loader for Vue Single-File Components

NOTE: The master branch now hosts the code for v15! Legacy code is now in the v14 branch.

What is Vue Loader?

vue-loader is a loader for webpack that allows you to author Vue components in a format called Single-File Components (SFCs):

<template>
  <div class="example">{{ msg }}</div>
</template>

<script>
export default {
  data () {
    return {
      msg: 'Hello world!'
    }
  }
}
</script>

<style>
.example {
  color: red;
}
</style>

There are many cool features provided by vue-loader:

  • Allows using other webpack loaders for each part of a Vue component, for example Sass for <style> and Pug for <template>;
  • Allows custom blocks in a .vue file that can have custom loader chains applied to them;
  • Treat static assets referenced in <style> and <template> as module dependencies and handle them with webpack loaders;
  • Simulate scoped CSS for each component;
  • State-preserving hot-reloading during development.

In a nutshell, the combination of webpack and vue-loader gives you a modern, flexible and extremely powerful front-end workflow for authoring Vue.js applications.

Current Tags

  • 15.7.2                                ...           latest (a month ago)
  • 14.2.4                                ...           legacy (10 months ago)

230 Versions

  • 15.7.2                                ...           a month ago
  • 15.7.1                                ...           5 months ago
  • 15.7.0                                ...           9 months ago
  • 15.6.4                                ...           10 months ago
  • 15.6.3                                ...           10 months ago
  • 14.2.4                                ...           10 months ago
  • 15.6.2                                ...           10 months ago
  • 15.6.1                                ...           10 months ago
  • 15.6.0                                ...           a year ago
  • 15.5.1                                ...           a year ago
  • 15.5.0                                ...           a year ago
  • 15.4.2                                ...           a year ago
  • 15.4.1                                ...           a year ago
  • 13.7.3                                ...           a year ago
  • 15.4.0                                ...           a year ago
  • 15.3.0                                ...           a year ago
  • 15.2.7                                ...           a year ago
  • 15.2.6                                ...           a year ago
  • 15.2.5                                ...           a year ago
  • 15.2.4                                ...           2 years ago
  • 15.2.3                                ...           2 years ago
  • 15.2.2                                ...           2 years ago
  • 13.7.2                                ...           2 years ago
  • 14.2.3                                ...           2 years ago
  • 15.2.1                                ...           2 years ago
  • 15.2.0                                ...           2 years ago
  • 15.1.0                                ...           2 years ago
  • 15.0.12                                ...           2 years ago
  • 15.0.11                                ...           2 years ago
  • 15.0.10                                ...           2 years ago
  • 15.0.9                                ...           2 years ago
  • 15.0.8                                ...           2 years ago
  • 15.0.7                                ...           2 years ago
  • 15.0.6                                ...           2 years ago
  • 15.0.5                                ...           2 years ago
  • 15.0.4                                ...           2 years ago
  • 15.0.3                                ...           2 years ago
  • 15.0.2                                ...           2 years ago
  • 15.0.1                                ...           2 years ago
  • 15.0.0                                ...           2 years ago
  • 15.0.0-rc.2                                ...           2 years ago
  • 15.0.0-rc.1                                ...           2 years ago
  • 15.0.0-beta.7                                ...           2 years ago
  • 15.0.0-beta.6                                ...           2 years ago
  • 15.0.0-beta.5                                ...           2 years ago
  • 15.0.0-beta.4                                ...           2 years ago
  • 15.0.0-beta.3                                ...           2 years ago
  • 14.2.2                                ...           2 years ago
  • 15.0.0-beta.2                                ...           2 years ago
  • 15.0.0-beta.1                                ...           2 years ago
  • 14.2.1                                ...           2 years ago
  • 14.2.0                                ...           2 years ago
  • 8.7.1                                ...           2 years ago
  • 14.1.1                                ...           2 years ago
  • 14.1.0                                ...           2 years ago
  • 14.0.3                                ...           2 years ago
  • 14.0.2                                ...           2 years ago
  • 14.0.1                                ...           2 years ago
  • 13.7.1                                ...           2 years ago
  • 14.0.0                                ...           2 years ago
  • 13.7.0                                ...           2 years ago
  • 13.6.2                                ...           2 years ago
  • 13.6.1                                ...           2 years ago
  • 13.6.0                                ...           2 years ago
  • 13.5.1                                ...           2 years ago
  • 13.5.0                                ...           2 years ago
  • 13.4.0                                ...           2 years ago
  • 13.3.0                                ...           2 years ago
  • 13.2.1                                ...           2 years ago
  • 13.2.0 [deprecated]           ...           2 years ago
  • 13.1.0                                ...           2 years ago
  • 13.0.5                                ...           2 years ago
  • 13.0.4                                ...           2 years ago
  • 13.0.3                                ...           2 years ago
  • 12.2.2                                ...           2 years ago
  • 13.0.2                                ...           2 years ago
  • 13.0.1                                ...           2 years ago
  • 13.0.0                                ...           2 years ago
  • 12.2.1                                ...           3 years ago
  • 12.2.0                                ...           3 years ago
  • 12.1.1                                ...           3 years ago
  • 12.1.0                                ...           3 years ago
  • 12.0.4                                ...           3 years ago
  • 12.0.3                                ...           3 years ago
  • 12.0.2                                ...           3 years ago
  • 12.0.1 [deprecated]           ...           3 years ago
  • 12.0.0                                ...           3 years ago
  • 11.3.4                                ...           3 years ago
  • 11.3.3                                ...           3 years ago
  • 11.3.2                                ...           3 years ago
  • 11.3.1                                ...           3 years ago
  • 11.3.0                                ...           3 years ago
  • 11.2.0                                ...           3 years ago
  • 11.1.4                                ...           3 years ago
  • 11.1.3                                ...           3 years ago
  • 11.1.2                                ...           3 years ago
  • 11.1.1                                ...           3 years ago
  • 11.1.0                                ...           3 years ago
  • 11.0.0                                ...           3 years ago
  • 8.7.0                                ...           3 years ago
  • 10.3.0                                ...           3 years ago
  • 10.2.4                                ...           3 years ago
  • 10.2.3                                ...           3 years ago
  • 10.2.2                                ...           3 years ago
  • 10.2.1                                ...           3 years ago
  • 10.2.0                                ...           3 years ago
  • 10.1.2                                ...           3 years ago
  • 10.1.1                                ...           3 years ago
  • 8.6.1                                ...           3 years ago
  • 8.6.0                                ...           3 years ago
  • 10.1.0                                ...           3 years ago
  • 10.0.4                                ...           3 years ago
  • 10.0.3                                ...           3 years ago
  • 10.0.2                                ...           3 years ago
  • 10.0.1                                ...           3 years ago
  • 10.0.0                                ...           3 years ago
  • 9.9.5                                ...           3 years ago
  • 9.9.4                                ...           3 years ago
  • 9.9.3                                ...           3 years ago
  • 9.9.2                                ...           3 years ago
  • 9.9.1                                ...           3 years ago
  • 9.9.0                                ...           3 years ago
  • 9.8.1                                ...           3 years ago
  • 9.8.0                                ...           3 years ago
  • 9.7.0                                ...           3 years ago
  • 9.6.0                                ...           3 years ago
  • 9.5.3                                ...           3 years ago
  • 9.5.2                                ...           3 years ago
  • 9.5.1                                ...           3 years ago
  • 8.5.4                                ...           3 years ago
  • 9.5.0                                ...           3 years ago
  • 9.4.2                                ...           3 years ago
  • 9.4.1                                ...           3 years ago
  • 9.4.0                                ...           3 years ago
  • 9.3.2                                ...           3 years ago
  • 9.3.1                                ...           3 years ago
  • 9.3.0                                ...           3 years ago
  • 9.2.3                                ...           3 years ago
  • 9.2.2                                ...           3 years ago
  • 9.2.1                                ...           3 years ago
  • 9.2.0                                ...           3 years ago
  • 9.1.3                                ...           3 years ago
  • 9.1.2                                ...           3 years ago
  • 9.1.1                                ...           3 years ago
  • 9.1.0                                ...           3 years ago
  • 8.5.3                                ...           3 years ago
  • 9.0.3                                ...           3 years ago
  • 9.0.2                                ...           3 years ago
  • 9.0.1                                ...           3 years ago
  • 9.0.0                                ...           3 years ago
  • 8.5.2                                ...           4 years ago
  • 8.5.1                                ...           4 years ago
  • 8.5.0                                ...           4 years ago
  • 8.4.0                                ...           4 years ago
  • 8.3.1                                ...           4 years ago
  • 8.3.0                                ...           4 years ago
  • 8.2.3                                ...           4 years ago
  • 8.2.2                                ...           4 years ago
  • 8.2.1                                ...           4 years ago
  • 8.2.0                                ...           4 years ago
  • 8.1.4                                ...           4 years ago
  • 8.1.3                                ...           4 years ago
  • 8.1.2                                ...           4 years ago
  • 8.1.1                                ...           4 years ago
  • 8.1.0                                ...           4 years ago
  • 8.0.5                                ...           4 years ago
  • 8.0.4                                ...           4 years ago
  • 8.0.3                                ...           4 years ago
  • 8.0.2                                ...           4 years ago
  • 7.5.3                                ...           4 years ago
  • 8.0.1                                ...           4 years ago
  • 8.0.0                                ...           4 years ago
  • 7.5.2                                ...           4 years ago
  • 7.5.1                                ...           4 years ago
  • 7.5.0                                ...           4 years ago
  • 7.4.2                                ...           4 years ago
  • 7.4.1                                ...           4 years ago
  • 7.4.0                                ...           4 years ago
  • 7.3.0                                ...           4 years ago
  • 7.2.0                                ...           4 years ago
  • 7.1.8                                ...           4 years ago
  • 7.1.7                                ...           4 years ago
  • 7.1.6                                ...           4 years ago
  • 7.1.5                                ...           4 years ago
  • 7.1.4                                ...           4 years ago
  • 6.1.0                                ...           4 years ago
  • 7.1.3                                ...           4 years ago
  • 7.1.2                                ...           4 years ago
  • 7.1.1                                ...           4 years ago
  • 7.1.0                                ...           4 years ago
  • 7.0.3                                ...           4 years ago
  • 7.0.2                                ...           4 years ago
  • 7.0.1                                ...           4 years ago
  • 7.0.0                                ...           4 years ago
  • 6.0.5                                ...           4 years ago
  • 6.0.4                                ...           4 years ago
  • 6.0.3                                ...           4 years ago
  • 6.0.2                                ...           4 years ago
  • 6.0.1                                ...           4 years ago
  • 6.0.0                                ...           4 years ago
  • 5.0.0                                ...           4 years ago
  • 4.0.10                                ...           4 years ago
  • 4.0.9                                ...           4 years ago
  • 4.0.8                                ...           4 years ago
  • 4.0.7                                ...           4 years ago
  • 4.0.6                                ...           4 years ago
  • 4.0.5                                ...           4 years ago
  • 4.0.4                                ...           4 years ago
  • 4.0.3                                ...           4 years ago
  • 4.0.2                                ...           4 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.0.4                                ...           4 years ago
  • 3.0.3                                ...           4 years ago
  • 3.0.2                                ...           4 years ago
  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.3 [deprecated]           ...           4 years ago
  • 2.0.2 [deprecated]           ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.1.6                                ...           5 years ago
  • 1.1.5                                ...           5 years ago
  • 1.1.4                                ...           5 years ago
  • 1.1.3                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (2)
Downloads
Today 452
This Week 20,934
This Month 142,499
Last Day 20,482
Last Week 115,996
Last Month 527,063
Dependencies (5)
Dev Dependencies (43)
Dependents (1801)

Copyright 2014 - 2016 © taobao.org |