My personal Next.js template
Next.js builtin commands are omitted here
ui
: Short fornpx shadcn-ui@latest
. Ex:npx run ui add button
test
: Unit test with Vitest
- Environment files:
.env[.<mode>][.local]
- All environment variable names should start with
NEXT_
- ✅ TypeScript
- ✅ Tailwind CSS
- ✅ App Router with
app/
- ✅ Default import with
@/*
- ❌ ESLint
- Style: Default
- Base color: Slate
- ✅ CSS variables
- ✅ jsdom
- ✅ @testing-library/react