jvidalv/vital
Tentang
Starter template for Vite with React (TypeScript). Supports Tailwind. Vitest and @react/testing-library configured and ready to go. Also ESLint, Prettier, and Atomic Design for components.
Pengembangan web dan aplikasiYang dapat Anda lakukan
- ⚡️ Vite 8 - Next generation frontend tooling
- ⚛️ React 19 - Latest version with improved performance
- 🦾 TypeScript 7 - Strongly typed JavaScript, with the native compiler
- 🎨 Tailwind CSS v4 - Latest utility-first CSS framework with CSS-based config
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli
Mocking up web app with Vital(speed)
Features
- ⚡️ Vite 8 - Next generation frontend tooling
- ⚛️ React 19 - Latest version with improved performance
- 🦾 TypeScript 7 - Strongly typed JavaScript, with the native compiler
- 🎨 Tailwind CSS v4 - Latest utility-first CSS framework with CSS-based config
- 👑 Atomic Design organization - Component architecture
- 🗂 Path aliases - Clean imports
- 😃 Hero Icons - Beautiful hand-crafted SVG icons
- 🤖 LLM-ready - Comprehensive AI assistance docs (CLAUDE.md, AGENTS.md, BUGBOT.md)
- ☁️ Deploy on Netlify or Vercel, zero-config
Code Quality
- Oxlint - Fast linter for JavaScript/TypeScript, with React rules
- Oxfmt - Prettier-compatible code formatter
- Commitlint - Lint commit messages
- lint-staged - Run linters on git staged files (config included, no git hook installed)
Dev Tools
- TypeScript - Type safety
- @vitejs/plugin-react - Official React plugin for Vite
- PostCSS - Transform CSS with JavaScript
- Netlify / Vercel - Zero-config deployment
Try it now!
Requires Node.js 22.22.1 or newer and Yarn 1.
GitHub Template
Create a repo from this template on GitHub.
Clone to local
If you prefer to do it manually with the cleaner git history
npx degit jvidalv/vital my-vital-app
cd my-vital-app
yarn # If you don't have yarn installed, run: npm install -g yarn
Checklist
When you use this template, try follow the checklist to update your info properly
- Rename
nameandauthorfields inpackage.json - Change the author name in
LICENSE - Change the title in
index.html - Change the favicon in
public - Modify the manifest in
public - Clean up the README's
And, enjoy :)
Usage
Development
Just run and visit http://localhost:3000/
yarn dev
Build
To build the App, run
yarn build
And you will see the generated file in dist that ready to be served.
Lint & Format
yarn lint # Oxlint, fails on any finding
yarn lint:fix # Oxlint with auto-fix
yarn format # Format everything with Oxfmt
yarn format:check # Check formatting without writing
Deployment
Deploy on Netlify
Go to Netlify and select your repository, OK along the way, and your App will be live in a minute.
Deploy on Vercel
Go to Vercel and select your repository, Vercel will detect Vite automatically and configure the build settings for you. Your App will be live in a minute.
Note: Both platforms automatically detect Vite projects and configure:
- Build Command:
yarn build - Output Directory:
dist - Install Command:
yarn install
Why
I have created several React apps recently. Setting the configs up is kinda the bottleneck for me to make the ideas simply come true within a very short time.
So I made this starter template for myself to create apps more easily, along with some good practices that I have learned from making those apps. Feel free to tweak it or even maintains your own forks.
Jelajahi proyek terkait
Memuat…