This template comes with the following features:
- PostCSS with mantine-postcss-preset
- TypeScript
- Redux-toolkit with redux-persist
- Storybook
- Vitest setup with React Testing Library
- ESLint setup with eslint-config-mantine
- Internationalization using i18next
- Custom auth hooks
- App configuration
- Yup schema validation
- Axios setup
- React Router Setup
Install deps and run the development server:
yarn && yarn dev
Open https://localhost:5173 with your browser to see the result.
dev
– start development serverbuild
– build production version of the apppreview
– locally preview production build
typecheck
– checks TypeScript typeslint
– runs ESLintprettier:check
– checks files with Prettiervitest
– runs vitest testsvitest:watch
– starts vitest watchtest
– runsvitest
,prettier:check
,lint
andtypecheck
scripts
storybook
– starts storybook dev serverstorybook:build
– build production storybook bundle tostorybook-static
prettier:write
– formats all files with Prettier
This template was created for users who want production level template but also do not want to spend to much time on configuring some stuff like authentication or axios. The template also supports multiple layouts that are available in mantine ui. For more information and details on how you can make changes in the template and configure it for your needs please check out the wiki.
Any contribution is welcomed :).