Integrating Bootstrap 5 into a CodeIgniter 4 Application |
05-01-2024, 09:17 AM
(This post was last modified: 05-01-2024, 09:18 AM by captain-sensible. Edit Reason: typo )
what i do is have my sass code same level as app, public then i use "grunt" to watch and convert to css and stick it as .css in public/css directory. IN that directory i have my custom.css from the sass , bootstrap.css, font-face.css and "style.css" inside style.css i have
Code: @import url("bootstrap.css"); So i just then reference one stylesheet the style.css in layout header, because using import the rest is pulled in. Also by importing bootstrap.css first anything in custom that matches stuff in bootstrap will be over written, so no need to edit anything in bootstrap nor mess about with bootstrap sass to css if im allowed to post link to source forge , you can look at how i integrated everything |
Messages In This Thread |
Integrating Bootstrap 5 into a CodeIgniter 4 Application - by tarcisiodev1 - 04-26-2024, 05:17 PM
RE: Integrating Bootstrap 5 into a CodeIgniter 4 Application - by Bosborne - 04-27-2024, 03:20 AM
RE: Integrating Bootstrap 5 into a CodeIgniter 4 Application - by vimkaf - 04-29-2024, 03:44 AM
RE: Integrating Bootstrap 5 into a CodeIgniter 4 Application - by InsiteFX - 04-29-2024, 04:21 AM
RE: Integrating Bootstrap 5 into a CodeIgniter 4 Application - by captain-sensible - 05-01-2024, 09:17 AM
|