Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 804 Bytes

install.md

File metadata and controls

30 lines (24 loc) · 804 Bytes

Manual installation instructions

Add routing

config/routes/bootstrap_theme_switch.yaml

cp -f vendor/neuralglitch/bootstrap-theme-switch/config/routing.yaml config/routes/bootstrap_theme_switch.yaml

Copy JavaScript library

mkdir -p assets/vendor/neuralglitch/bootstrap-theme-switch/dist && \
  cp -f vendor/neuralglitch/bootstrap-theme-switch/assets/dist/bootstrap-theme-switch.min.js \
        assets/vendor/neuralglitch/bootstrap-theme-switch/dist/

Add JavaScript import

assets/app.js

import './vendor/neuralglitch/bootstrap-theme-switch/dist/bootstrap-theme-switch.min.js';

Clear cache

bin/console cache:clear

Additionally

Execute the appropriate commands to build the frontend, if necessary.

back