mirror of https://github.com/ColorlibHQ/gentelella
3.0 KiB
3.0 KiB
Clean Base Project - Gentelella Admin Template
This repository has been cleaned up to provide a minimal base project for the Gentelella admin template, suitable for starting new development projects.
What Was Removed
๐๏ธ Pre-built Files & Dependencies
vendors/
- All Bower-managed third-party dependencies (jQuery, Bootstrap, etc.)production/css/
- Pre-built CSS filesproduction/js/
- Pre-built JavaScript filesbuild/css/*
- Pre-compiled CSS assetsbuild/js/*
- Pre-compiled JavaScript assetsbuild/images/
- Pre-built image assetsdocs/
- Documentation website files
๐งน Configuration Files
bower.json
- Bower package configuration.bowerrc
- Bower settings.DS_Store
- macOS system files
What Remains
โ Essential Source Files
src/scss/
- SCSS source stylesheetssrc/js/
- JavaScript source filesproduction/*.html
- HTML template pagesproduction/images/
- Template images and assets
โ Development Tools
gulpfile.js
- Build configuration (updated for modern Sass)package.json
- npm dependencies and scripts.gitignore
- Updated to ignore build outputs
Current Project Structure
gentelella/
โโโ src/ # ๐ง Source files (edit these)
โ โโโ scss/ # SCSS stylesheets
โ โโโ js/ # JavaScript source
โโโ build/ # ๐ฆ Generated assets (ignored by git)
โ โโโ css/ # Will contain compiled CSS
โ โโโ js/ # Will contain compiled JS
โโโ production/ # ๐ HTML templates
โ โโโ *.html # Template pages
โ โโโ images/ # Template assets
โโโ gulpfile.js # ๐ ๏ธ Build configuration
โโโ package.json # ๐ npm dependencies
โโโ .gitignore # ๐ซ Git ignore rules
Getting Started
-
Install dependencies:
npm install
-
Build assets:
npx gulp sass sass-minify scripts
-
Start development server:
npx gulp default
Benefits of This Clean Setup
- โ Minimal repository size - No vendor dependencies or build artifacts
- โ Modern build tools - Updated to use Dart Sass instead of deprecated Ruby Sass
- โ Reproducible builds - All assets generated from source
- โ Version control friendly - Only source files are tracked
- โ Easy to customize - Clean separation between source and output
- โ npm-only workflow - No need for Bower or Ruby dependencies
Notes
- The
build/
directory will be created automatically during the build process - All external dependencies should now be managed through npm instead of Bower
- HTML templates in
production/
still reference the built CSS/JS files inbuild/
- This setup provides a clean foundation for building custom admin interfaces