项目作者: tienduy-nguyen

项目描述 :
Project demo using React, TypeScript, Ant Design
高级语言: TypeScript
项目地址: git://github.com/tienduy-nguyen/react-antd-demo.git
创建时间: 2020-11-22T16:54:15Z
项目社区:https://github.com/tienduy-nguyen/react-antd-demo

开源协议:MIT License

下载


React Ant Design Demo

Project demo using React/TypeScript & Ant Design

Demo at https://react-ant-demo.netlify.app

  • React Ant Design Demo

  • Using create-react-app to create project

    1. $ yarn create react-app react-antd-demo --template typescript
    2. # or
    3. $ npm create-react-app react-antd-demo --template typescript
  • Install important dependencies

    If you want to create a complex app with Router and Management State, you need to install more dependencies after using create-react-app

    1. $ yarn add redux react-redux react-router react-router-dom redux-thunk axios
    2. $ yarn add @types/redux @types/react-redux @types/react-router @types/react-router-dom @types/redux-thunk
  • Install Ant Design
    1. $ yarn add antd @ant-design/icons
  • Install package node-sass
    It allows import and use scss or sass in React project

    1. $ yarn add node-sass@4.14.1

    Why use node-sass@4.14.1? Because, in the moment that I work in this project, there are some bugs of the latest version of node-sass with React.

  • If you want to use ESLint & Prettier in your project, you can check my blog how to config ESlint & Prettier in React Project

Create Layout, Components & Routes

Follow the files in projects

—-> Missing docs


Demo


demo
demo
demo
demo
demo