eolant / silverstripe-bootstrap-mix
The SilverStripe theme that uses Bootstrap 4 with Laravel Mix
Installs: 204
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 3
Open Issues: 0
Language:Scheme
Type:silverstripe-theme
pkg:composer/eolant/silverstripe-bootstrap-mix
Requires
This package is not auto-updated.
Last update: 2025-10-23 11:00:10 UTC
README
This is a boilerplate base theme for SilverStripe 4 that you can use for all your custom Boostrap 4 themes. It uses Laravel Mix for assets compilation and Browsersync for quick and easy development allowing you to focus on the task at hand, not worrying about front end tools. You can also easily replace Bootstrap for anything else. As well as use SASS, LESS, Stylus. Refer this page for more details about Laravel Mix.
Installation
composer require eolant/silverstripe-bootstrap-mix
- Select theme in
_config/theme.yml - Run
npm installfrom theme directory
Usage
- Choose your proxy address for Browsersync in
webpack.mix.js npm run watchfor developmentnpm run prodfor production build
Please refer package.json for all commands.
Renaming theme
If you want to rename the theme, make sure to create links to javascript, css, images directories
You can execute following commands from theme's directory (replace silverstripe-bootstrap-mix with the new name):
rm -rf $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
mkdir $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
ln -s $(pwd)/javascript $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
ln -s $(pwd)/css $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
ln -s $(pwd)/images $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix