Skip to content

Page Generator

The Page Generator Command, will create a new Page for the provided Module with a basic boilerplate code. If you want to create a new ProfileIndex page, and a ProfileForm page for the Customer Module, you can run the following command:

bash
php artisan modular:make-page Customer Profile

Two new files will be created at resources/js/Pages/Customer/ProfileIndex.vue and resources/js/Pages/Customer/ProfileForm.vue, considering these as the common files to list and create/edit the Profile Model.