Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

ds147000 / react-project-storage

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • react-project-storage
  • src
  • store
  • index.js
  • 郑永杰's avatar
    添加usr全局状态 · a49ad6dc
    郑永杰 committed Jul 21, 2020
    a49ad6dc Browse Files
index.js 278 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import { init } from '@rematch/core'
import { createConetxt } from './context'
import route from './modules/route/index'
import user from './modules/user/index'

const store = init({
    models: { 
        route,
        user
    }
})
createConetxt(store)

export default store