Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nareshbhatia/react-starter
A minimal template to get started with React
https://github.com/nareshbhatia/react-starter
Last synced: about 6 hours ago
JSON representation
A minimal template to get started with React
- Host: GitHub
- URL: https://github.com/nareshbhatia/react-starter
- Owner: nareshbhatia
- Created: 2024-07-21T07:11:55.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T15:58:08.000Z (4 months ago)
- Last Synced: 2024-07-22T08:36:01.476Z (4 months ago)
- Language: TypeScript
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Starter
A minimal template to get started with React.
**Tech Stack**
1. Framework: React 18 + Vite + React Router
2. Styling: Plain CSS
3. Linting: Code Shaper ESLint configuration![Screenshot](assets/screenshot.png)
## Development Build
```shell
npm ci
npm run dev
```Now point your browser to http://localhost:3000
## Production Build
```shell
npm ci
npm run build
npm run preview
```Now point your browser to http://localhost:3000
## All Commands
```
npm ci # install dependencies
npm run build # builds all workspaces
npm run clean # deletes all build artifacts
npm run dev # run the dev build
npm run fix # lints, formats and attempts to fix any issues (requires `npm run build` has been ran)
npm run lint # runs the linter on all workspaces, useful for debugging lint issues (generally `npm run fix` is preferred)
npm run preview # run the prod build
```