Skip to content

bnm12/rollup-plugin-vue

 
 

Repository files navigation

Changes in this fork

This fork has been modified to have an extra config option: useSpfxThemeLoading. This will make rollup-plugin-vue output all styles as wrapped in the loadStyles method from @microsoft/load-themed-styles to facilitate using spfx themes to style your webparts

Introduction

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.

Build Status Coverage Status

Usage

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

import VuePlugin from 'rollup-plugin-vue'

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

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

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

Packages

No packages published

Languages

  • TypeScript 79.7%
  • JavaScript 14.7%
  • Vue 4.5%
  • Shell 1.1%