JSPM

  • Created
  • Published
  • Downloads 59857
  • Score
    100M100P100Q147655F
  • 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

Rollup Plugin for Vue

As vue-loader is for webpack and vueify is for browserify, similarly its for rollup. As we know, webpack and browserify concat stuff and make it runnable in browser. Its difficult to share .vue components. Now roll your Vue components.

With rollup you can break your application into reusable modules.

Working on next version. See changes

Development milestones

  • Basic *.vue files (ES6 script, html template and no style tag.)
  • Include style.
  • Trans-compiler for script: coffee etc.
  • Scoped css.
  • Import script or template.

Rollup Plugin for Vue

Build Status Coverage Status Software License NPM Latest Version Issues

Installation

Node and Rollup are required.

npm install --save-dev rollup-plugin-vue

Usage

import {rollup} from 'rollup';
import vue from 'rollup-plugin-vue';

rollup({
    entry: 'index.js',
    plugins: [vue()]
});

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ npm run test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

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.