Skip to content
/ b4st Public
forked from SimonPadbury/b4st

A Bootstrap 4 Starter Theme with Webpack 4 assets management, for WordPress 5

License

Notifications You must be signed in to change notification settings

ArroWsGM/b4st

 
 

Repository files navigation

b4st-extended-webpack – A Bootstrap 4 Starter Theme for WordPress with Webpack 4 assets management

Version 1.2.1

Based on https://github.com/SimonPadbury/b4st


b4st is a simple WordPress starter theme loaded with Bootstrap 4.

Thanks to Webpack this starter theme also includes tree-shaked Font Awesome 5

Features of b4st-extended-webpack

  • A little more advanced programming level required

  • Reorganized code, object-oriented approach, scss, ES6

  • Internal logging

  • Custom post types scaffolding

  • Translations-ready

  • Bootstrap 4

    • Update thru npm
    • Easy module-based js bundling: loads only used modules
    • Serve with dedicated vendors.min.js
  • Popper, util.js

    • Imported automatically with Webpack
  • jQuery 3

    • Update whit npm
    • Serve with dedicated vendors.min.js
  • Font Awesome 5

    • Easy managed icons set
    • Possibility to use Pro version, just add .npmrc (if needed) and install pro-* packages with npm
  • Modernizr

    • Stripped out
  • Slick.js

Bugs

  • Emits empty styles*.js after npm run build, this might be fixed with Webpack 5, for now - just delete or leave those files alone, it useless.

Using / Changing

  • made desired changes to package.json, webpack.config.js and/or other files
  • open b4st/assets directory with terminal, type npm i, then npm run build for production or npm run dev for developing
  • wait until new files will be generated by Webpack

TODO

  • getters/setters for options
  • composer support
  • clean app structure and bootstrapping

Packages

No packages published

Languages

  • PHP 87.4%
  • JavaScript 8.8%
  • CSS 3.8%