JSPM

  • Created
  • Published
  • Downloads 59857
  • Score
    100M100P100Q147713F
  • License MIT

Roll .vue files

Package Exports

  • rollup-plugin-vue

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollup-plugin-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Introduction

As vue-loader is for webpack and vueify is for browserify, so is this for rollup. As we know, webpack and browserify concat stuff and make 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.