Skip to content

yfwz100/rollup-plugin-vue2

 
 

Repository files navigation

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

About

Roll .vue files, for Vue 2.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 83.7%
  • JavaScript 11.8%
  • Vue 3.8%
  • Shell 0.7%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy