Roots is an independent open source org, supported only by developers like you. We’ve been improving the WordPress developer experience since 2011, and your support keeps it independent.
Installing Sage WordPress Starter Theme
View as Markdown:
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
basepath invite.config.js - Run
npm installfrom the theme directory to install dependencies - Run
npm run buildto 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