tuex
Tuex
A simpler Vuex alternative written in TypeScript.
(TypeScript + Vuex) - Complexity = Tuex
Full Documentation

About
Tuex is a reactive centralized state management library for Vue.js. It takes heavy inspiration from the Flux pattern (especially Vuex).
The main goal of Tuex is to make state-management less complex for small-scale apps, while also keeping the state flexibile and scalabile.
Installation
npm install tuex --save
# or
https://unpkg.com/tuex
Usage
// imports or scripts
...
Vue.use(Tuex);
const TuexStore = new Tuex.Store({
num: 0,
increase(amount) {
this.num += amount;
}
});
...
// Vue component
...
created() {
this.$store.increase(10);
console.log(this.$store.num);
// => 10
this.$store.num = -1;
console.log(this.$store.num);
// => -1
}
...
Roadmap
Coming soon:
- Full Wiki Documentation
- Refactoring
- Performance gains
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.3.22 | ^2.5.13 | MIT | |
| 0.3.20 | ^2.5.13 | MIT | |
| 0.3.19 | ^2.5.13 | MIT | |
| 0.3.18 | ^2.5.13 | MIT | |
| 0.3.17 | ^2.5.13 | MIT | |
| 0.3.16 | ^2.5.13 | MIT | |
| 0.3.15 | ^2.5.13 | MIT | |
| 0.3.14 | ^2.5.13 | MIT | |
| 0.3.13 | ^2.5.13 | MIT | |
| 0.3.12 | ^2.5.13 | MIT | |
| 0.3.11 | ^2.5.13 | MIT | |
| 0.3.10 | ^2.5.13 | MIT | |
| 0.3.9 | ^2.5.13 | MIT | |
| 0.3.8 | ^2.5.13 | MIT | |
| 0.3.7 | ^2.5.13 | MIT | |
| 0.3.6 | ^2.5.13 | MIT | |
| 0.3.5 | ^2.5.13 | MIT | |
| 0.3.4 | ^2.5.13 | MIT | |
| 0.3.3 | ^2.5.13 | MIT | |
| 0.3.2 | ^2.5.13 | MIT | |
| 0.3.1 | ^2.5.13 | MIT | |
| 0.3.0 | ^2.5.13 | MIT | |
| 0.2.2 | ^2.5.13 | MIT | |
| 0.2.1 | ^2.5.13 | MIT | |
| 0.2.0 | ^2.5.13 | MIT | |
| 0.1.0 | ^2.5.13 | MIT | |
| 0.0.13 | ^2.5.13 | MIT | |
| 0.0.12 | ^2.5.13 | MIT | |
| 0.0.11 | ^2.5.13 | MIT | |
| 0.0.10 | ^2.5.13 | MIT |
Showing the latest 30 of 35. See every release on npm