Public Ticket #4073

Responsive issue, Design / Setup issue

Closed
Comments
DexignLab
Yamini Gaur replied 1 year ago on November 14, 2022 at 02:04 AM

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

DexignLab 1
Abubakar Muyiwa replied started the conversation 1 year ago on November 12, 2022 at 11:04 AM

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