Skip to content

Vite template for React + TypeScript + Redux-Toolkit / RTK Query.

License

Notifications You must be signed in to change notification settings

laststance/vite-rtk-query

Folders and files

NameName
Last commit message
Last commit date
Jul 13, 2024
Apr 9, 2024
Apr 2, 2023
Oct 28, 2023
Apr 9, 2024
Aug 23, 2023
Jan 27, 2025
Nov 6, 2024
Aug 9, 2023
Aug 25, 2023
Sep 1, 2023
Aug 25, 2023
Jan 27, 2025
Feb 23, 2022
Jan 27, 2025
Aug 23, 2023
May 9, 2025
May 9, 2025
Jan 27, 2025
Jan 27, 2025
Aug 25, 2023
Apr 2, 2023

Repository files navigation

vite-rtk-query Typecheck Test Build Lint

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.

All npm package are keeping least release version powered by Dependabot.

Installation

npx degit laststance/vite-rtk-query myapp

pnpm

cd myapp
pnpm install
pnpm validate
pnpm dev

If you don't need TailwindCSS, run pnpm remove:tailwind after pnpm install.

Commands

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

License

MIT

Contributors ✨

Thanks goes to these wonderful people (emoji key):

ryota-murakami
ryota-murakami

💻 📖 ⚠️
Jhon Jimenez
Jhon Jimenez

💻

This project follows the all-contributors specification. Contributions of any kind welcome!