mdartic / vue-reactive-store

A VueX alternative : declarative + reactive + centralized way to structure your data store. Inspired by VueX and Vue.js . Compatible with vue-devtools.
MIT License
28 stars 2 forks source link

Devtools vrs plugin break vrs store if vue-devtools is not installed #5

Closed mdartic closed 5 years ago

mdartic commented 5 years ago
Uncaught TypeError: Cannot read property 'on' of undefined at vrsPluginDevtools (webpack-internal:///./node_modules/vue-reactive-store/dist/devtools.esm.js:67) 
at eval (webpack-internal:///./node_modules/vue-reactive-store/dist/index.esm.js:149) 
at Array.forEach (<anonymous>) 
at new VueReactiveStore (webpack-internal:///./node_modules/vue-reactive-store/dist/index.esm.js:147) 
at eval (webpack-internal:///./src/store/tablet/index.js:34) 
at Module../src/store/tablet/index.js (desktop.js:17418) 
at __webpack_require__ (desktop.js:724) 
at fn (desktop.js:101) 
at eval (webpack-internal:///./src/App.mixin.js:2) 
at Module../src/App.mixin.js (desktop.js:16187)

We have to check vue-devtools is installed before using it.

mdartic commented 5 years ago

Fixed in 0.0.17