Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lostmypillow/vite-react-js
https://github.com/lostmypillow/vite-react-js
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/lostmypillow/vite-react-js
- Owner: lostmypillow
- Created: 2024-04-23T12:45:19.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-23T13:22:55.000Z (9 months ago)
- Last Synced: 2024-04-23T14:31:29.228Z (9 months ago)
- Language: JavaScript
- Homepage: https://lostmypillow.github.io/vite-react-js/
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Vite (React) Template
## How should you/I use this template?
### 0.5 Enable & Update PNPM
```bash
corepack enable pnpm && pnpm add -g pnpm #I recommend pnpm, but npm commands are provided
```### 1. Install dependencies
```bash
pnpm i #npm install
```
### 2. Initialize TailwindCSS
```bash
pnpm exec tailwindcss init -p #npx tailwindcss init -p
```
### 3. Check conflicting ESLint Rules
```bash
pnpm exec eslint-config-prettier index.js test/index.js legacy/main.js ##npx eslint-config-prettier index.js test/index.js legacy/main.js
```### 4. Run dev server
```bash
pnpm run dev #npm run dev
```
## Plugins Used- ### Vite Plugin Pages [Link to GitHub](https://github.com/hannoeru/vite-plugin-pages?tab=readme-ov-file#react)
- ### Unplugin Auto Import [Link to GitHub](https://github.com/unplugin/unplugin-auto-import)
- ### Unplugin Icons [Link to GitHub](https://github.com/unplugin/unplugin-icons)
- ### Unplugin Fonts [Link to GitHub](https://github.com/cssninjaStudio/unplugin-fonts)
- ### Axios [Link to Site](https://axios-http.com/docs/intro)
- ### ESLint Config Prettier [Link to GitHub](https://github.com/prettier/eslint-config-prettier)
## VSCode Extensions
- ### ES7+ React/Redux/React-Native snippets by dsznajder
- ### Tailwind CSS IntelliSense
- ### ESLint
- ### Prettier