A modern, production-ready frontend workflow with Tailwind CSS and Gulp.
šØ Modern Design System
š ļø Advanced Build System
š§ Development Tools
š¦ Production Ready
Clone the repository
git clone [your-repo-url]
cd boilerplate
Install dependencies
npm install
Start development server
npm run dev
Build for production
npm run build
boilerplate/
āāā src/ # Source files
ā āāā css/ # CSS files
ā ā āāā app.css # Main CSS file
ā āāā js/ # JavaScript files
ā ā āāā app.js # Main JS file
ā āāā components/ # Reusable components
ā ā āāā header.html
ā ā āāā footer.html
ā ā āāā home/ # Page-specific components
ā āāā pages/ # HTML pages
ā āāā index.html
āāā dist/ # Compiled files
āāā gulpfile.js # Gulp configuration
āāā tailwind.config.js # Tailwind configuration
āāā postcss.config.js # PostCSS configuration
āāā package.json # Project dependencies
The template includes a customized tailwind.config.js
with:
Components are modular and can be included using:
@@include('../components/header.html')
Dark mode is implemented using Tailwind's dark:
variant and supports:
npm run dev
- Start development servernpm run build
- Build for productionnpm run clean
- Clean dist foldernpm run format
- Format code with Biomenpm run lint
- Lint code with Biomenpm run check
- Run Biome checksnpm run update-deps
- Update dependenciessrc/pages/
src/components/
@@include()
src/css/app.css
tailwind.config.js
The production build:
dist/
We follow a simplified Git flow with these main branches:
main
- Production-ready codedevelop
- Development branch, integration of featuresfeature/*
- New features and non-emergency fixeshotfix/*
- Urgent production fixesrelease/*
- Release preparationfeature/feature-name
hotfix/issue-description
release/version-number
Create feature branch from develop
git checkout -b feature/new-feature develop
Work on the feature
git add .
git commit -m "feat: add new feature"
Merge back into develop
git checkout develop
git merge --no-ff feature/new-feature
Delete feature branch
git branch -d feature/new-feature
Create release
git checkout -b release/1.0.0 develop
Merge to main and tag
git checkout main
git merge --no-ff release/1.0.0
git tag -a v1.0.0 -m "Version 1.0.0"
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ā¤ļø by Milon Biswas