npm install -g gulp
)Install with composer composer require dpezer/ss-bs
or ...
... 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
.
Add the following to your app/_config/theme.yml
file.
---
Name: mytheme
---
SilverStripe\View\SSViewer:
themes:
- '$public'
- 'ss-bs'
- '$default'
Add the following to your 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'
]
);
Run 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
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem