Skip to content
/ vuet Public

允许你定义飙车过程的集中式状态管理模式

License

Notifications You must be signed in to change notification settings

lzxb/vuet

Repository files navigation

Vuet

Build Status npm npm

What is the Vuet?

Vuet is aimed at managing the status of Vue.js. Modular management is its core, and you can choose between updating automatically and regularly and updating by hand to update the status of the modules. Anyway, it's all up to you.

Development and test

npm install
npm run dev # open: http://localhost:3000/
npm run dev:test

Usage

  • install
    npm install vuet@latest --save
    
  • example
    import Vue from 'vue'
    import Vuet from 'vuet'
    
    Vue.use(Vuet)
    
    const vuet = new Vuet({
      // ... base options
    })
    
    new Vue({
      // ...
      vuet
    })

Full document

LICENSE

MIT