@reactseed/template-antd
v2.4.0
Published
React seed ant design template for creating react app
Downloads
142
Maintainers
Readme
@reactseed/template-antd
Ant Design template for the React Seed.
Trying Online
You can try Reactseed online on ⚡️ stackblitz
.
Quick start
npx @reactseed/cli init
If you use npm 5.1 or earlier, you can't use
npx
. Instead, install@reactseed/cli
globally:
npm install -g @reactseed/cli
Now you can run:
reactseed init
Select Ant Design Template
:
? The template you want to use?
Defalut Template
❯ Ant Design Template (useRedux + useRequest)
Ant Design Template using Vite (useRedux + useRequest)
Ant Design Template (useRedux + useRequest + LinguiJs)
Then open http://localhost:3000/ to see your app.
When you’re ready to deploy to production, create a minified bundle with npm run build
.
What's inside?
Project structure
Here are the top-level files and directories you'll see in an app created using this template.
@reactseed/template-antd
├── mock
├── public
├── src
│ ├── components
│ ├── configs
│ ├── hooks
│ ├── pages
│ ├── routes
│ ├── themes
│ ├── typings
│ ├── utils
│ ├── defaultSettings.ts
│ ├── index.tsx
│ ├── react-app-env.d.ts
│ ├── react.d.ts
│ ├── reportWebVitals.ts
│ ├── router.tsx
│ ├── setupTests.ts
│ └── setupProxy.js
├── .env
├── .eslintignore
├── .eslintrc
├── .gitignore
├── .prettierrc
├── .stylelintrc
├── craco.config.ts
├── README.md
├── tsconfig.json
└── package.json
License
React Seed is open source software licensed as BDS.