📄Page

you can build a custom page inside your Module to make a custom page with a custom vuejs file using just 1 command

Using

to build a page just run

php artisan vilt:page

now go to your module service provider and add this line on boot() method:

VILT::loadPages($this->moduleName);

now generate a low case from name of page role

php artisan roles:generate pos

it will ask you about the page name and the module name, and I will generate a page for you inside Modules/ModuleName/Pages/PageNamePage.php and another filer for vuejs inside Modules/ModuleName/Resources/views/PageName.vue

and you can now add what you when inside it

Last updated