The Wayback Machine - https://web.archive.org/web/20200717154639/https://github.com/vuejs/rollup-plugin-vue
Skip to content
Branch: master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
example
Jan 17, 2019

README.md

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.

Build Status Coverage Status

Usage

This document applies to v4.0+. If you are looking for older versions, docs are here

import commonjs from '@rollup/plugin-commonjs' 
import VuePlugin from 'rollup-plugin-vue'

export default {
  entry: 'main.js',
  plugins: [
    commonjs(),
    VuePlugin(/* VuePluginOptions */)
  ]
}

See available options for VuePluginOptions.

Security

If you discover any security related issues, please email hi@znck.me instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.