1.7.1 • Published 4 months ago
@hummer/tenon-store v1.7.1
Tenon Store
Fork From Vuex
作为 Tenon Vue 的 vuex 解决方案,增加上 Tenon Vue 的适配,增加多页面数据共享的逻辑处理。
使用说明
import * as Tenon from '@hummer/tenon-vue';
import {createStore} from '@hummer/tenon-store';
const store = createStore({
state: {
count: 0
},
mutations: {
increment (state) {
state.count++
}
}
});
Tenon.use(store);
多页面数据共享使用说明
import * as Tenon from '@hummer/tenon-vue';
import {createStore,createHummerPlugin} from '@hummer/tenon-store';
const store = createStore({
state: {
count: 0
},
mutations: {
increment (state) {
state.count++
}
},
plugins: [createHummerPlugin()]
});
Tenon.use(store);
1.7.1
4 months ago
1.7.0
5 months ago
1.6.0
2 years ago
1.5.0
2 years ago
1.4.0
3 years ago
1.3.0
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.6-alpha.0
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.0.2
3 years ago
1.0.1-beta.0
3 years ago
1.0.1
3 years ago
1.0.0-beta.0
3 years ago