mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
feat(style): update Bootstrap from 4.5 to 4.6
Get fixes and minor improvements
This commit is contained in:
parent
f37581febe
commit
3ae036b9c3
47 changed files with 600 additions and 7479 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue