@yfwz100/rollup-plugin-vue2
v6.0.0-1
Published
Roll .vue files, forked from an older version of rollup-plugin-vue targeting Vue 2.
Downloads
1
Readme
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 [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT).