As vue-loader is for webpack and vueify is for browserify, similarly its for rollup. As we know, webpack and browserify concat stuff and make it runnable in browser. Its difficult to share .vue components. Now roll your Vue components.
With rollup you can break your application into reusable modules.
Working on next version. See changes
- Basic *.vue files (ES6 script, html template and no style tag.)
- Include style.
- Trans-compiler for script: coffee etc.
- Scoped css.
- Import script or template.
npm install --save-dev rollup-plugin-vue
import {rollup} from 'rollup';
import vue from 'rollup-plugin-vue';
rollup({
entry: 'index.js',
plugins: [vue()]
});
Please see CHANGELOG for more information what has changed recently.
$ npm run test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email hi@znck.me instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.