0.0.3 • Published 5 years ago

vue-pnpjs v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Vue.js and PnP.js integration plugin

How to use

  1. Install the plugin:
       npm install vue-pnpjs
  2. Initialize it in your main file:

       import Vue from 'vue';
       import VuePnP from 'vue-pnpjs';
    
       import { sp } from '@pnp/sp';
       import { graph } from '@pnp/graph';
       import { setup } from '@pnp/common';
    
       setup({...})
    
       Vue.use(VuePnP, {
         sp: sp,
         graph: graph
       });
  3. Use it in your Vue instances:

      this.$pnp.sp.web.get().then(...)
0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago