How to include script located in node_modules folder using codeigniter 4? |
I need to install this plugin on my application, so I followed the instruction and executed:
PHP Code: npm install --save @ckeditor/ckeditor5-upload Usually, to load a plugin I create a file inside the `load` directory which contains the plugin name, in particular: PHP Code: Views which contains this: PHP Code: <!-- Push section js --> so to include in a specific section of my app, I simply do: PHP Code: <?= $this->include('App\Views\Backend\load\ckeditor') ?> and this will inject the plugin into my app, but how can I do this with local dependencies installed via npm? |
Messages In This Thread |
How to include script located in node_modules folder using codeigniter 4? - by sfarzoso - 05-20-2021, 01:55 AM
RE: How to include script located in node_modules folder using codeigniter 4? - by InsiteFX - 05-20-2021, 02:41 AM
RE: How to include script located in node_modules folder using codeigniter 4? - by sfarzoso - 05-20-2021, 04:15 AM
RE: How to include script located in node_modules folder using codeigniter 4? - by craig - 05-20-2021, 04:25 AM
|