store-vue
store-vue插件
Last updated 10 months ago by zys .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install store-vue 
SYNC missed versions from official npm registry.

store-vue npm github

这个是一个vue状态管理器、vue过滤、vue工具、MockJs的集合

安装

npm i store-vue

配置

//引入store-vue
import store from "store-vue"
new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')

教程

例子

<template>
    <div>{{dome | dome}}</div>
</template>
<script>
    export default {
        name: "Dome",
        data(){
            return {
                dome:"dome"
            }
        },
        mounted(){
            //action
            this.action({
                moduleName:"moduleName",
                //...
            })
            //airforce
            this.airforce
            //utils
            this.utils
            //api
            this.api
        }
    }
</script>

<style scoped>

</style>
具体方法及配置请查看源代码

Current Tags

  • 1.5.0                                ...           latest (10 months ago)

46 Versions

  • 1.5.0                                ...           10 months ago
  • 1.4.9                                ...           10 months ago
  • 1.4.8                                ...           10 months ago
  • 1.4.7                                ...           10 months ago
  • 1.4.6                                ...           10 months ago
  • 1.4.5                                ...           10 months ago
  • 1.4.0                                ...           a year ago
  • 1.3.9                                ...           a year ago
  • 1.3.8                                ...           a year ago
  • 1.3.7                                ...           a year ago
  • 1.3.6                                ...           a year ago
  • 1.3.5                                ...           2 years ago
  • 1.3.4                                ...           2 years ago
  • 1.3.3                                ...           2 years ago
  • 1.3.2                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.9                                ...           2 years ago
  • 1.2.8                                ...           2 years ago
  • 1.2.7                                ...           2 years ago
  • 1.2.6                                ...           2 years ago
  • 1.2.5                                ...           2 years ago
  • 1.2.4                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.8                                ...           2 years ago
  • 1.1.7                                ...           2 years ago
  • 1.1.6                                ...           2 years ago
  • 1.1.5                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 3
Last Month 13
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |