Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Roots Example Project.com | 466 | 5 months ago | Jinja | |||||||
Example Roots stack project (Trellis, Bedrock, Sage) | ||||||||||
Sage Woocommerce | 203 | 5 | 2 | a year ago | 5 | January 11, 2020 | 6 | PHP | ||
WooCommerce integration for Sage 9 themes | ||||||||||
Sage Twig Theme | 95 | 6 years ago | 3 | mit | JavaScript | |||||
Best of Sage and Twig in one Theme | ||||||||||
Stage | 86 | 2 months ago | 58 | mit | PHP | |||||
WIP: WordPress Theme Framework based on Roots Sage | ||||||||||
Sage Woocommerce | 75 | 7 months ago | 7 | October 27, 2021 | 2 | PHP | ||||
Sage Bootstrap4 Navwalker | 74 | 4 | 2 years ago | 9 | October 14, 2020 | 3 | mit | PHP | ||
Sage Timber | 47 | 5 years ago | 1 | mit | JavaScript | |||||
SageTimber is Sage WordPress theme ported to twig templates for use with Timber plugin. | ||||||||||
Sage Starter | 40 | 6 months ago | JavaScript | |||||||
The best starter theme with a modern front-end development workflow. Based on Sage, HTML5 Boilerplate, gulp, Bower, and Bootstrap. | ||||||||||
Alps Wordpress | 34 | 17 days ago | 29 | other | PHP | |||||
This Wordpress theme is an implementation of the Adventist Living Pattern System (ALPS) designed to support the work of the Seventh-day Adventist church. | ||||||||||
Sage Vue Tailwind | 33 | 2 years ago | 1 | mit | PHP | |||||
Sage 10 with laravel mix, tailwindcss and vuejs https://roots.io/sage/ |
Sage Starter is a starter theme based on Roots Sage theme version 8.6, which references HTML5 Boilerplate, Gulp, and Bower that will help you make better websites.
Prerequisite | How to check | How to install |
---|---|---|
Node.js >= 6.9.x | node -v |
nodejs.org |
gulp-cli >= 2.0.0 | gulp -v |
npm install -g gulp-cli |
Bower >= 1.3.12 | bower -v |
npm install -g bower |
Optional | ||
PHP >= 7.x.x | php -v |
php.net |
PHP is optional, but use the latest PHP version that's available.
For more installation notes, refer to the Install gulp and Bower section in this document.
Clone the git repo - git clone https://github.com/asuh/sage-starter.git
and then rename the directory to the name of your theme or website.
Sage Starter uses gulp as its build system and Bower to manage front-end packages.
Bower is outdated and not recommended since the mid-2010s, but will remain in this starter project for the time being.
Building this project requires node.js. For best results, update to the latest version of npm: npm i -g [email protected]
. I personally recommend using NVM.
From the command line:
npm i -g gulp bower
npm i
bower install
You now have all the necessary dependencies to run the build process.
gulp
— Compile and optimize the files in your assets directorygulp watch
— Compile assets when file changes are madegulp --production
— Compile assets for production (no source maps).To use BrowserSync during gulp watch
you need to update devUrl
at the bottom of assets/manifest.json
to reflect your local development hostname.
For example, if your local development URL is http://project-name.test
you would update the file to read:
...
"config": {
"devUrl": "http://project-name.test"
}
...
If your local development URL looks like http://localhost:8888/project-name/
you would update the file to read:
...
"config": {
"devUrl": "http://localhost:8888/project-name/"
}
...
Sage Starter has built-in SVG support! The preferred method for using SVG as implemented is an SVG sprite.
Make sure each SVG has an ID.
<svg xmlns="http://www.w3.org/2000/svg">
<symbol id="twitter" viewBox="0 0 64 64">
<title>Twitter</title>
<path etc.../>
</symbol>
</svg>
Save any SVG files you want to use into /assets/images/sprite
and the build process will combine all of those images into /assets/images/sprite/sprite.svg
.
To use in markup, apply the ID to an SVG's Use element.
<svg role="img" title="Twitter">
<use xlink:href="map.svg#twitter"/>
</svg>
Check out SVG For Everybody for IE and <=Edge 12 support of SVG sprites.
Sage theme's original documentation is available at https://docs.roots.io/sage/8.x/installation/. These instructions aren't consistent with Sage Starter but provide historical context for installation and running Gulp.
Contributions are welcome and encouraged from everyone!