Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zys8119/store-vue
这个是一个vue状态管理器、vue过滤、vue工具、Mockjs的集合
https://github.com/zys8119/store-vue
Last synced: 10 days ago
JSON representation
这个是一个vue状态管理器、vue过滤、vue工具、Mockjs的集合
- Host: GitHub
- URL: https://github.com/zys8119/store-vue
- Owner: zys8119
- Created: 2018-07-31T03:53:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T19:46:06.000Z (over 3 years ago)
- Last Synced: 2024-10-28T08:14:55.995Z (18 days ago)
- Language: JavaScript
- Homepage:
- Size: 138 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# store-vue [![npm](https://img.shields.io/badge/npm-Install-zys8119.svg?colorB=cb3837&style=flat-square)](https://www.npmjs.com/package/store-vue) [![github](https://img.shields.io/badge/github-
-zys8119.svg?colorB=000000&style=flat-square)](https://github.com/zys8119/store-vue)
这个是一个vue状态管理器、vue过滤、vue工具、MockJs的集合## 安装
```angular2html
npm i store-vue
```
## 配置```angular2html
//引入store-vue
import store from "store-vue"
new Vue({
store,
router,
render: h => h(App)
}).$mount('#app')
```## 教程
>例子
```vue
{{dome | dome}}export default {
name: "Dome",
data(){
return {
dome:"dome"
}
},
mounted(){
//action
this.action({
moduleName:"moduleName",
//...
})
//airforce
this.airforce
//utils
this.utils
//api
this.api
}
}```
###### 具体方法及配置请查看[源代码](https://github.com/zys8119/store-vue/blob/master/index.js)