sidebar |
---|
rollup-plugin-vue
is a plugin for Rollup that can transform Vue components in following format into a plain Javascript module:
There are many cool features provided by rollup-plugin-vue
:
- ES2015 enabled by default;
- Builtin support for sass, less and stylus for
<style>
; - Builtin support for pug for
<template>
In a nutshell, the combination of Rollup and rollup-plugin-vue gives you a modern, flexible and extremely powerful workflow authoring Vue.js components & plugins.
This plugin is best for authoring component modules and plugins. Use webpack and [vue-loader](http://vue-loader.vuejs.org) for authoring Vue.js applications.