Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Vuex from 'vuex';
- ...
- // The library I want to share amongst the components
- import RunbyLib from './runbylib';
- ...
- Vue.use(Vuex);
- const store = new Vuex.Store({
- state: {
- RunbyLib,
- },
- mutations: {
- },
- });
Add Comment
Please, Sign In to add comment