sage-vite

An advanced WordPress starter theme that integrates Tailwind CSS, Laravel Blade templating, and Vite for fast and modern development workflows.

MIT License

Downloads
86
Stars
0

Custom Sage Theme with Vite

Overview

This is a customized WordPress theme based on the Sage starter theme, integrated with Vite for modern build tools and faster production builds.

Sage + Vite Theme

Advanced WordPress starter theme with Tailwind CSS, Laravel Blade and Vite

Documentation

Key Points:

  • Clarify WSL Requirement: Document that WSL is necessary for Windows users to ensure proper functionality.
  • Explain Vite Integration: Provide instructions on how Vite is used and how it benefits the build process.
  • Include Troubleshooting Tips: Offer solutions for common issues that users might face during setup.

This approach will help users understand the specific requirements and configuration needed for your custom theme and ensure a smoother setup experience.

Requirements

Installation

Rename .env.example to .env and set the url for your site in APP_URL, also you can configurate the Hot Module Replacement in HMR_HOST and HMR_PORT

Make sure you have all the requirements, then clone the repository and inside of the folder run the follows commands.

First run:

  yarn

Then:

  composer install

Once you have all the dependencies you have to build the assets:

  yarn build

And Finally just run:

  yarn dev

Recomended libraries

  • ACF Composer for the advanced custom fields, (AFC Pro required)
  • Navi Easy way to handle the WordPress menus, I also hate the WordPress NavWalker xD
  • Poet provides simple configuration-based post type, taxonomy, editor color palette, block category, block pattern and block registration/modification.

Author

Berny Chavarria [email protected]

Raj Patel [email protected]

Package Rankings
Top 29.48% on Npmjs.org
Related Projects