How to dynamically load css and js per view (similar to WordPress's wp_enque_script)? |
I've used CI3 in the past, but it's been awhile and I'm not finding the answer to this question.
In Laravel, I would implement this by doing something like: Code: @section('script') But in CodeIgniter, I'm at a loss. I have seen this codeigniter-enqueue library, but it's 2 years old and I wanted to make sure this functionality didn't make its way into CI in that time before going with a 3rd party library. Any ideas? How do you handle head/foot injection of css/js? |
Welcome Guest, Not a member yet? Register Sign In |