daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest Dec 11th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import Vuex from 'vuex';
  2. ...
  3. // The library I want to share amongst the components
  4. import RunbyLib from './runbylib';
  5. ...
  6. Vue.use(Vuex);
  7.  
  8. const store = new Vuex.Store({
  9.   state: {
  10.     RunbyLib,
  11.   },
  12.   mutations: {
  13.   },
  14. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand