반응형
https://github.com/azakharo/react-ts-starter-2023
Usage: create fast prototypes, solve test tasks.
- You can write Typescript or Javascript code with the latest JS features.
- Babel is used for Typescript transpilation. Typescript compiler is used for the type checking only.
- ESLint for linting Typescript and Javascript code.
- Auto code formatting with Prettier.
- Fully controllable build process with Webpack (v5). There are the development, production configs. The common part is in the common config.
- Webpack dev server with hot reloading
- Production optimized build
- Client-side routing (react-router v6)
- Material UI toolkit (v5)
- "api" sub-dir contains code for working with a backend. Axios is used.
- Login and Main page skeletons. Dummy implementation for handling the authentication has already been added.
- Jest configured. Tests can be written in Typescript.
- Storybook configured.
This starter uses Webpack. So, the dev server starts slowly compared to Vite.
The same is true also for code changes and live-reloading.
If you'd like to try the same starter, but with Vite, see the following link:
react-ts-vite-starter
npm install
npm start
npm run build
반응형
'실전 단아 개발 가이드' 카테고리의 다른 글
React Type Script 관련 팁 찾기 (0) | 2024.02.29 |
---|---|
React TypeScript 템플릿 간단한 Routing 소스 (0) | 2024.02.29 |
Arrow 함수 => (1) | 2024.01.30 |
react-scripts'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는배치 파일이 아닙니다. (0) | 2024.01.24 |
https://github.com/akveo/nebular/tree/master (0) | 2024.01.22 |