Using npm with CodeIgniter 4: Best practices? |
this is what I have in public :
Code: [andrew@darkstar joesoapdev]$ tree -L 2 public All thats needed for bootstrap5 5 to work is 2 files a css in css dir and a js file in js directory to reference that js file in my template view its this line just before html closing tag : Code: <script src="<?php echo base_url('js/bootstrap.bundle.js');?>"></script> No on live you dont need the node_modules directory |
Messages In This Thread |
Using npm with CodeIgniter 4: Best practices? - by VerayaTanaysa - 08-14-2023, 12:10 AM
RE: Using npm with CodeIgniter 4: Best practices? - by captain-sensible - 08-15-2023, 12:18 AM
RE: Using npm with CodeIgniter 4: Best practices? - by ozornick - 08-15-2023, 04:10 AM
RE: Using npm with CodeIgniter 4: Best practices? - by captain-sensible - 08-15-2023, 07:45 AM
|