Project demo using React, TypeScript, Ant Design
Project demo using React/TypeScript & Ant Design
Demo at https://react-ant-demo.netlify.app
Using create-react-app to create project
$ yarn create react-app react-antd-demo --template typescript
# or
$ 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
$ yarn add antd @ant-design/icons
Install package node-sass
It allows import and use scss or sass in React project
$ 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
Follow the files in projects
—-> Missing docs