1.7.1 • Published 1 year 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
1 year ago
1.7.0
2 years ago
1.6.0
3 years ago
1.5.0
3 years ago
1.4.0
4 years ago
1.3.0
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.6-alpha.0
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.0
4 years ago
1.0.2
5 years ago
1.0.1-beta.0
5 years ago
1.0.1
5 years ago
1.0.0-beta.0
5 years ago