Last active
August 3, 2016 22:40
-
-
Save davekiss/757d0963a7589ca376613e4090ab5eb5 to your computer and use it in GitHub Desktop.
Fix Sage 9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1. Update Bootstrap compatibility in /assets/scripts/main.js | |
// Import npm dependencies | |
// import 'bootstrap/dist/js/umd/util.js'; | |
// import 'bootstrap/dist/js/umd/alert.js'; | |
// import 'bootstrap/dist/js/umd/button.js'; | |
// import 'bootstrap/dist/js/umd/carousel.js'; | |
// import 'bootstrap/dist/js/umd/collapse.js'; | |
// import 'bootstrap/dist/js/umd/dropdown.js'; | |
// import 'bootstrap/dist/js/umd/modal.js'; | |
// import 'bootstrap/dist/js/umd/scrollspy.js'; | |
// import 'bootstrap/dist/js/umd/tab.js'; | |
// import 'bootstrap/dist/js/umd/tooltip.js'; | |
// import 'bootstrap/dist/js/umd/popover.js'; | |
import 'bootstrap/dist/js/bootstrap.js'; | |
#2 Update Bootstrap grid mixins in /assets/styles/components/_grid.scss | |
// Grid system | |
.main { | |
@include make-col(8); | |
} | |
.sidebar { | |
@include make-col(4); | |
} | |
#3 (optional) if using HTTPS, change schema in /watch.js on line 12 | |
var host = 'https://localhost', | |
#4 update /assets/config.json with your theme name and correct devUrl | |
#5 update /src/setup.php with your theme name in place of `sage` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment