Introduction
As vue-loader is for webpack, so is this for rollup. As we know, webpack concats stuff and makes it runnable in the browser. It's difficult to share .vue components. Now roll your Vue components.
With rollup you can break your application into reusable modules.
Usage
import commonjs from '@rollup/plugin-commonjs'
import VuePlugin from 'rollup-plugin-vue2'
export default {
entry: 'main.js',
plugins: [
commonjs(),
VuePlugin(/* VuePluginOptions */)
]
}
See available options for VuePluginOptions
(please review the options for Vue 2 if possible).
Security
If you discover any security related issues, please email yfwz100@yeah.net instead of using the issue tracker.
Credits
License
The MIT License (MIT).