@jianghe/sand-core
TypeScript icon, indicating that this package has built-in type declarations

2.1.5 • Public • Published

@jianghe/sand-core

sand-pc 脚手架核心功能,对外暴露 @jianghe/sand-core/react @jianghe/sand-core/server @jianghe/sand-core/react-dom @jianghe/sand-core/react-redux @jianghe/sand-core/router-dom @jianghe/sand-core/router-config @jianghe/sand-core/prop-types @jianghe/sand-core/history

import {
  getDva, // 获取 dva 实例
  getStore, // 获取 store
  setModel, // 设置 model
  async, // 动态初始组件的方法
  renderRoutes, // 将路由配置转换为 react-router4 组件的方法
  sumRouter, // 将分割路由合并的方法
  setRoutes, // 设置路由配置
  getRoutes, // 获取路由配置
  matchRoutes,
  PropTypes,
  connect,
  Provider,
} from '@jianghe/sand-core'

Readme

Keywords

Package Sidebar

Install

npm i @jianghe/sand-core

Weekly Downloads

81

Version

2.1.5

License

MIT

Unpacked Size

92.8 kB

Total Files

66

Last publish

Collaborators

  • jianghe