> For the complete documentation index, see [llms.txt](https://queents.gitbook.io/vilt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://queents.gitbook.io/vilt/builders/page.md).

# Page

<figure><img src="/files/vG9M6xbhzjNF6nBunKkn" alt=""><figcaption></figcaption></figure>

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

```bash
php artisan vilt:page
```

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

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

now generate a low case from name of page role

```bash
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
