UNPKG

vuex-local

Version:

Local state management within Vuex

14 lines (13 loc) 300 B
import './vue'; import { applyMixin } from './mixin'; import { warn } from './utils'; var Vue; export function install(API, options) { if (options === void 0) { options = {}; } if (Vue) { warn('already installed'); return; } Vue = API; applyMixin(Vue, options); }