-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Frontend
- Stackblitz: https://vite.new/react (
npm create vite@latest my-vue-app -- --template react) - Carbon: https://github.com/carbon-design-system/carbon/tree/main/examples/vite
- custom ?
- what are the benefits of the various community templates / starters? i18n, a11y, testing, etc. already configured?
- what should be included? initial thoughts below
- barebones starer using React + Vite + Carbon: https://github.com/AlanGreene/vite-carbon-react-starter
- minimum: react, eslint, prettier, vite, tailwind (or other library / design system?), husky (with commitizen / commitlint or similar for conventional commits etc.), sass / postcss / css module support, dev container config (maybe)
- optional: jest, testing-library, storybook, cypress, msw, react router, TanStack Query (or Redux Toolkit?), i18n (react-intl / react-i18next etc.)
- Some templates to consider / review:
- https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite
- https://github.com/10fabri/vite-react-starter
- https://github.com/fabien-ml/react-ts-vite-template
- https://github.com/The24thDS/vite-reactts18-chakra-jest-husky
- https://github.com/lzm0x219/template-vite-react
- https://github.com/SafdarJamal/vite-template-react
- https://github.com/ychengcloud/react-vite-admin
- can also use degit (or https://github.com/tiged/tiged) to create new project from existing (
--mode=gitto use SSH clone instead of downloading tar, for private repos)npx degit user/project#main my-project cd my-project npm install npm run dev
Metadata
Metadata
Assignees
Labels
No labels