Rollup Plugin for Vue, Roll .vue files

rollup-plugin-vue

If you want to use *.vue files with Rollup.js, here’s a plugin, by Rahul Kadyan. vue-loader is for webpack, and vueify is for browserify, similarly this is for Rollup. As we know, webpack and browserify concat stuff and make it runnable in the browser. Now you can roll your Vue components.

It comes with a vue-cli template, using the vue-plugin template:

vue init znck/vue-plugin-simple my-project

With rollup, you can break your application into reusable modules.

Node and Rollup are required.

You can check the code of some examples here and here.

Rollup-Vue on GitHub.