https://github.com/jonikanerva/react_template
React SPA + TypeScript Template
https://github.com/jonikanerva/react_template
eslint parcel-bundler prettier react template typescript
Last synced: 2 months ago
JSON representation
React SPA + TypeScript Template
- Host: GitHub
- URL: https://github.com/jonikanerva/react_template
- Owner: jonikanerva
- Created: 2020-04-26T09:15:37.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-08-31T16:51:26.000Z (almost 2 years ago)
- Last Synced: 2025-06-17T23:37:53.631Z (about 1 year ago)
- Topics: eslint, parcel-bundler, prettier, react, template, typescript
- Language: HTML
- Homepage:
- Size: 424 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# React SPA Template
Template for a client rendered [React][react] app written in [TypeScript][typescript]. It uses [Vite][vite] for building, [Prettier][prettier] for code formatting, [ESLint][eslint] for static analysis, [pnpm][pnpm] for package manager, and [nvm][nvm] for managing the Node version.
## Setup
Install and set the correct Node version with `nvm install && nvm use`.
Install dependencies with `pnpm install`.
Run static analysis and linters with `pnpm lint`.
## Running
Build application with `pnpm build`.
Start application in dev/watch mode with `pnpm dev`.
Preview production build with `pnpm preview`.
[nvm]: https://github.com/creationix/nvm/
[prettier]: https://prettier.io
[react]: https://react.dev
[eslint]: https://eslint.org
[typescript]: https://www.typescriptlang.org
[vite]: https://vite.dev
[pnpm]: https://pnpm.io