@yfwz100/rollup-plugin-vue2
TypeScript icon, indicating that this package has built-in type declarations

6.0.0-1 • Public • Published

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).

Readme

Keywords

Package Sidebar

Install

npm i @yfwz100/rollup-plugin-vue2

Weekly Downloads

1

Version

6.0.0-1

License

MIT

Unpacked Size

45.7 kB

Total Files

9

Last publish

Collaborators

  • yfwz100