How to load JS and CSS file inside laravel method I have to convert the below code to laravel
class vpl_editor_util{
static function generate_jquery(){
global $PAGE;
$PAGE->requires->css(new moodle_url('/mod/vpl/editor/jquery/themes/smoothness/jquery-ui.css'));
$PAGE->requires->js(new moodle_url('/mod/vpl/editor/jquery/jquery-1.9.1.js'),true);
$PAGE->requires->js(new moodle_url('/mod/vpl/editor/jquery/jquery-ui-1.10.3.custom.js'),true);
$PAGE->requires->js(new moodle_url('/mod/vpl/editor/VPL_jquery_no_conflict.js'),true);
}
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community