mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 04:14:41 +00:00
feat(style): update Bootstrap from 4.5 to 4.6
Get fixes and minor improvements
This commit is contained in:
1 parent
f37581febe
commit
3ae036b9c3
47 files changed
+600
-7479
No files matched your search
@@ -1,13 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Script to copy Bootstrap files into project after running `npm install` to download Bootstrap.
|
||||
# Use: run from project root dir.
|
||||
# Script to copy Bootstrap files into project after running `yarn` to download Bootstrap.
|
||||
# Use:
|
||||
# 1. run from project root: zsh ./scripts/update_bootstrap.sh
|
||||
# 2. rename bootstrap/vendor -> _vendor
|
||||
# 3. update renamed dir in _mixins.scss to `@import "_vendor/rfs";`
|
||||
# 4. update jQuery and Popper CDN dependencies
|
||||
|
||||
ASSETS_JS_DIR="assets/js/vendor/"
|
||||
ASSETS_SCSS_DIR="assets/scss/vendor/"
|
||||
ASSETS_JS_DIR="wowchemy/assets/js/_vendor/"
|
||||
ASSETS_SCSS_DIR="wowchemy/assets/scss/_vendor/"
|
||||
|
||||
mkdir -p $ASSETS_SCSS_DIR/bootstrap/
|
||||
|
||||
cp node_modules/bootstrap/dist/js/bootstrap.min.js $ASSETS_JS_DIR
|
||||
cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.js $ASSETS_JS_DIR
|
||||
cp -r node_modules/bootstrap/scss/* $ASSETS_SCSS_DIR/bootstrap/
|
||||
|
||||
# cp node_modules/jquery/dist/jquery.min.js $ASSETS_JS_DIR
|
||||
|
||||
Reference in new issue
Block a user