Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ax-sh/vite-react-ts-template
https://github.com/ax-sh/vite-react-ts-template
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ax-sh/vite-react-ts-template
- Owner: ax-sh
- Created: 2023-12-03T12:48:18.000Z (about 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-01-08T17:58:07.000Z (12 months ago)
- Last Synced: 2024-01-08T19:15:13.864Z (12 months ago)
- Language: TypeScript
- Size: 1.36 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![App CI](https://github.com/ax-sh/vite-react-ts-template/actions/workflows/ci.yml/badge.svg)](https://github.com/ax-sh/vite-react-ts-template/actions/workflows/ci.yml)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)# what you get in this repo, for using this
```shell
pnpx degit ax-sh/vite-react-ts-template#develop my-react-vite-project
``````shell
pnpm create vite
``````shell
pnpm install -D @commitlint/cli @commitlint/config-conventional
echo "{extends: ['@commitlint/config-conventional']}" > .commitlintrcpnpm dlx husky-init && pnpm install
pnpx husky add .husky/commit-msg 'pnpx --no -- commitlint --edit "$1"'
``````shell
pnpm add -D vitest
npm pkg set scripts.test="vitest run"
pnpm install --save-dev @testing-library/jest-dom
pnpm install --save-dev @testing-library/react
``````shell
pnpm install -D tailwindcss postcss autoprefixer
npx tailwindcss init --ts
npx tailwindcss init -p
``````shell
# https://github.com/hannoeru/vite-plugin-pages
pnpm install -D vite-plugin-pages
pnpm install react-router react-router-dom
``````shell
pnpm add --save-dev --save-exact prettier
pnpm install eslint-config-prettier eslint-plugin-prettier prettier --save-dev
pnpm i -D unplugin-turbo-console```
```shell
pnpm add @tanstack/react-query
pnpm add -D @tanstack/eslint-plugin-query
pnpm add @tanstack/react-query-devtools
``````shell
pnpm install msw --save-dev
pnpx msw init public
``````shell
# https://github.com/fi3ework/vite-plugin-checker?tab=readme-ov-file
```