slides.com/lanche86/wcnkpg
gulp, Bower, Bootstrap
Composer, dotenv
Vagrant, Ansible, Nginx, PHP 5.6, HHVM
It's starter theme not a theme framework
Professionally maintained. 6k+ Github stars.
Perfect amount of boilerplate.
Don't want Bootstrap? Quickly remove it.
A modern build process, one of them image optimisation.
git clone https://github.com/roots/sage.git theme-name
npm install
installs all modules that are listed on package.json file and their dependencies
bower install
installs all packages that are listed on bower.json file and their dependencies
gulp
Compile and optimize the files in your assets directory
gulp --production
Compile assets for production (no source maps)
gulp watch
Compile assets when file changes are made
gulp watch and BrowserSync
assets/manifest.json
"config": { "devUrl": "http://project-name.dev" }
"config": {
"devUrl": "http://localhost:8888/project-name/"
}
fonts/
images/
scripts/
styles/
manifest.json
sage.pot
assets.php
conditional-tag-check.php
config.php
extras.php
init.php
titles.php
utils.php
wrapper.php
content.php
head.php
header.php
footer.php
sidebar.php
.
.
.
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
Most WordPress themes are WET
Hope you are smarter than that.
Zlatan Ibrahimović
ABBA
Good movies
hi@mi.rs
@lanche86
Tack så mycket Norrköping!