hybridelabs/wordpress-template-boilerplate

Boilerplate template for Wordpress using by Hybride Conseil


Keywords
theme, wordpress, boilerplate-template, mix
License
MIT

Documentation

Wordpress-template-boilerplate

GitHub release (latest by date) semantic-release

Boilerplate template for Wordpress used by Hybride Conseil

How to use

Run the following composer command to install the theme :

composer create-project deshiloh/wordpress-template-boilerplate

Install dependencies with :

npm install

This theme use Laravel Mix follow the documentation to know how to use it. No build scripts required on package.json since the new version. Just make your configuration in the webpack.mix.js.

basics commands:

# command in dev
npx mix watch

# command for production
npx mix --production

TODO before start coding

  • Change the project name in style.css.

Github

  • Create a secret TOKEN in your repository settings under the Secrets section. The TOKEN is used for the semantic release of the project.

Gitlab

  • Create a secret GL_TOKEN in your repository settings variables. The GL_TOKEN is used for the semantic release of the project.

Things to know

  • For performance reasons Tailwindcss is installed and configured with postcss without a preprocessing tool like Sass, Less, or Stylus, more details here.
  • postcss is configured with the postcss-nesting plugin, that allow you to write css like scss. Go to the repo for more informations.