Coder Social home page Coder Social logo

umi3_bug's Introduction

umi project

Getting Started

Install dependencies,

$ yarn

Start the dev server,

$ yarn start

项目基本说明

基础框架

项目使用umi@3座位基础框架,文档地址可以从这里访问。

国际化

项目已经配置好相关国际化插件,文档地址可以从这里访问。

组件库

项目引入antd作为基本的ui组件库,文档地址可以从这里访问

Layout

项目引入antd-pro-layout作为layout,便于快速开发,具体文档可以在这里获得。

权限管理

项目引入了umi提供的权限管理插件来管理侧边栏和路由的准入和可见权利,具体文档可以在这里获得

数据流处理

项目引入了useModel插件,便于页面间简单的数据共享,具体文档可以在这里获得。 为了应对更复杂的数据数据流处理,项目还引入了dva,但是很多时候useModel + ReactHooks的组合已经可以处理大部分的业务场景,所以在使用dva处理你的数据流前请谨慎考虑,具体文档可以在这里

其他

如果在编写项目的过程中,引入模块时,vscode提示模块“"../../node_modules/umi/types"”没有导出的成员,使用vscode 快捷键ctrl+shift+p ,重启ts服务器可以解决相关问题(不解决也没问题,并不影响使用,只是影响视觉感受)。

umi3_bug's People

Watchers

hopperhuang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.