Planning to use Next.js with Tailwind CSS and TypeScript.
Requires Node.js 20.
Created using:
npx create-next-app@latest website --typescript
(Next.js with TypeScript)cd website
npm install -D tailwindcss postcss autoprefixer
(Tailwind CSS)npx tailwindcss init -p
(Tailwind CSS)
Code formatting:
npm install -D prettier prettier-plugin-tailwindcss
(Installing Prettier)npx prettier ./src --write --plugin=prettier-plugin-tailwindcss
(Running Prettier)
Recommended VS Code extensions:
To run locally with hot reloading:
npm run dev
To test a build (as would be built by Vercel):
npm run build
Main website is the Main branch of GitHub. Make a pull request to it for the automatic deployment pipeline to kick in.
- Have another branch, push to it, then make a pull request on GitHub to main.
- This will require a reviewer (can be bypassed for small patches + hotfixes)