- ✅ Astro v5
- ✅ Tailwindcss v4
- ✅ React v19
- ✅ TypeScript is implicitly supported by Astro
- ✅ Code formating for Astro, css, and tsx/js files
- ✅ Tailwind classes sorting
Astro has great documentation and tooling to do what this boilerplate have, but setting up prettier with code formating and tailwind classes sorting could be annoying. If you are someone that kick starts many Astro+React+Tailwind projects, this working minimal boilerplate out of the box will help a ton. Also, if you are a beginner playing around with Astro and want to have a nice starting point, this boilerplate is the way.
Just clone the repo to your system
- Install the Prettier extension for VSCode
- Open VSCode settings (File > Preferences > Settings or
Cmd+,
on Mac,Ctrl+,
on Windows) - Search for "Format On Save" and check the box to enable it
- Alternatively, add this to your VSCode settings.json file:
{ "editor.formatOnSave": true, "[astro]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[typescriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" } }
This boilerplate already includes the necessary Prettier plugins for Astro, Tailwind, and other file types in the package.json.
Find Astro docs here.
Find Tailwindcss Docs here.
Open issues to request any features that you think are helpfull for a minimal boilerplate.