Modern rewrite of carcaj.cl theme using Tailwind CSS
- Tailwind CSS for styling
- Dynamic tooltips and notes
- Reading progress bar
- Turbo hotwire integration
- Vite-powered asset pipeline
- Full responsive design
- Custom post types
- AlpineJS for interactivity
- PHP 8.0+
- Node.js 16+
- WordPress 6.0+
- Docker (optional)
pnpm install
pnpm run setup
pnpm run buildFor hot reload development:
- Set
IS_VITE_DEVELOPMENT = truein functions.php - Run
pnpm run watch
src/
├── theme.js # Main JavaScript
├── theme.scss # Main styles
└── assets/ # Images, fonts, etc.
dist/ # Compiled assets
template-parts/ # Components
- Place the full backup from cpanel in a
backupfolder in root directory - Run setup:
pnpm run setup- Start containers:
docker-compose up -d- Access WordPress: http://localhost:8080
- Development:
pnpm install
pnpm run watch # Development with hot reload
pnpm run build # Production buildNote: For Apple Silicon, uncomment platform: linux/x86_64 in docker-compose.yml
## Packages
- Vite
- TailwindCSS
- PostCSS
- AlpineJS
- Turbo (Loaded via NPM)
- Favicon - https://realfavicongenerator.net/
## Theme Functions / Features
I recommend that you read the entire functions.php and src/ folder. Uncomment / comment out features which you
need in your theme.