How do I include CSS and JS on separate pages just like the way it was used on the demo pages?
I have checked the `config/dz.php` but I cannot get it to work.
My Controller Method is like this =>
My Controller Method is like this =>
public function register(Request $request){
....
}
The route is like this
Route::controller(VolunteerRegister::class)->prefix('volunteer')->middleware('web')->group(function() {
Route::get('/register', 'register')->name('register');
});
And I add my custom JS like these
'VolunteerRegister_register' => [
'vendor/jquery-steps/build/jquery.steps.min.js',
'vendor/jquery-validation/jquery.validate.min.js',
'js/plugins-init/jquery.validate-init.js',
'vendor/jquery-smartwizard/dist/js/jquery.smartWizard.js',
],
Somehow, I cannot get it to work. the JS files are not been loaded. What am I missing
Hello Abubakar Muyiwa,
Thanks for being our customer.
Please clear the cache by using the following command --- php artisan optimize
After clear caching check again.
Thanks & Regards
Yamini
DexignZone