cra-template-zegs
v2.3.2
Published
Zegs' template for Create React App. Includes Zegs' custom router.
Maintainers
Readme
cra-template-zegs
Zegs' template for Create React App. Bootstrap React applications with a powerful custom router included
Usage
npx create-react-app my-app --template zegsIncludes
- TypeScript
- ESLint
- Prettier
- ReactRouterDom and a custom RoutesRenderer with easy condition handler, redirects and fully typed links with matching typed params
Directory structure
├── src
│ ├── Pages
│ ├── Helpers
│ │ ├── router
│ │ │ ├── conditions.ts
│ │ │ ├── routes.ts
│ │ │ ├── TypedLink.tsx
│ │ │ ├── utils.ts
│ └── index.tsx
├── .eslintrc.js
├── .prettierrc
├── tsconfig.json