Welcome Guest, Not a member yet? Register   Sign In
Integrating Bootstrap 5 into a CodeIgniter 4 Application
#2

This does not directly answer this question, but since you also mentioned minimization in a different thread, I will share what I have chosen to do.

Minification is only one optimizing step, especially when using external libraries such as Bootstrap. Minification removes white spaces to reduce load size, but you also end up loading the whole library. Usually the majority of it is unused.

Personally, I chose to use tailwindcss as my library along with webpack. For development, the whole library is available but for production, only the parts of the library used in my project are minimized to be used in production. It involves a little more work when moving to production, but it igreatly reduces any library overhead in the project.
Reply


Messages In This Thread
RE: Integrating Bootstrap 5 into a CodeIgniter 4 Application - by Bosborne - 04-27-2024, 03:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB