dev-master
9999999-devThe SilverStripe SilverStripe Bootstrap 4 starter theme
BSD-3-Clause
The Requires
by Darjan Pezer
bootstrap theme silverstripe sass scss gulp bootstrap 4
The SilverStripe SilverStripe Bootstrap 4 starter theme
, (*1)
npm install -g gulp
)Install with composer composer require dpezer/ss-bs
or ..., (*2)
... copy the theme into the themes/
directory of your SilverStripe project. If you've named it correctly, there should be a directory called themes/ss-bs/templates
., (*3)
Add the following to your app/_config/theme.yml
file., (*4)
--- Name: mytheme --- SilverStripe\View\SSViewer: themes: - '$public' - 'ss-bs' - '$default'
app/src/PageController.php
file inside init()
function:Requirements::combine_files( 'scripts.combined.js', [ 'themes/ss-bs/javascript/jquery/jquery-3.5.1.js', 'themes/ss-bs/javascript/popper/popper.js', 'themes/ss-bs/javascript/bootstrap/bootstrap.js' ] );
composer vendor-expose
to expose theme folder if needed.npm install
commandgulp
folderthemes/ss-bs/app/scss
and import them in themes/ss-bs/app/scss/style.scss
The SilverStripe SilverStripe Bootstrap 4 starter theme
BSD-3-Clause
bootstrap theme silverstripe sass scss gulp bootstrap 4