Vite RTK Query temptelte.
This include React+TS with familiar pre-setup tooling
Redux Toolkit, RTK Query, React Router, eslint-config-ts-prefixer, Vitest/TS/react-testing-library/MSW, tailwindcss, CSS Modules GitHub Actions CI.
--fix
option) rule sets. Zero extend any recommended for confortable DX. All npm package are keeping least release version powered by Dependabot.
npx degit laststance/vite-rtk-query myapp
cd myapp
pnpm install
pnpm validate
pnpm dev
If you don't need TailwindCSS, run pnpm remove:tailwind
after pnpm install
.
pnpm dev # start development server
pnpm start # start development server
pnpm validate # run test,lint,build,typecheck concurrently
pnpm test # run vitest
pnpm test:watch # run vitest watch mode
pnpm lint # run eslint
pnpm lint:fix # run eslint with --fix option
pnpm typecheck # run TypeScript compiler check
pnpm build # build production bundle to 'dist' directly
pnpm prettier # run prettier for json|yml|css|md|mdx files
pnpm clean # remove 'node_modules' 'yarn.lock' 'dist' completely
pnpm serve # launch server for production bundle in local
pnpm remove:tailwind # remove TailwindCSS
MIT
Thanks goes to these wonderful people (emoji key):
ryota-murakami 💻 📖 ⚠️ |
Jhon Jimenez 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!