Installation
Install Sage using Composer from your WordPress themes directory:
$ composer create-project roots/sage your-theme-name
To install the latest development version of Sage, add dev-main
to the end of the command:
$ composer create-project roots/sage your-theme-name dev-main
Build assets
- Edit the
base
path invite.config.js
- Run
npm install
from the theme directory to install dependencies - Run
npm run build
to compile assets
You must build theme assets in order to access your site. Failing to build the assets will result in the error:
Vite manifest not found at [/path/to/sage/public/build/manifest.json] cannot be found.
Last updated
Support Roots
Help us continue to build and maintain our open source projects. We’re a small team of independent developers and every little bit helps.
Sponsor Roots on GitHub