Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "easy-vuex", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "适用于小型Vue应用的数据管理。可以全局共享部分数据和方法,既不需要像Vuex那样额外写一些mutation,又不需要采用Vue传统的props/events来通讯。", | ||
@@ -5,0 +5,0 @@ "keywords": "vue vuex data-management", |
module.exports = { | ||
install: function (v, _store) { | ||
const store = new Vue({ | ||
var store = new Vue({ | ||
data: function () { | ||
@@ -5,0 +5,0 @@ return _store.state || {}; |
2437