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

# Customization

### How to add a New Page

To add a new page follow the instructions given below:

1\. Create a file with the extension `.vue` under the `vuely-laravel->resources->js->views` directory. You can also create your file under the `your-page-name` directory. See the given below example we have taken an example of TestPage that we are going to create.

{% code title="TestPage.vue" %}

```
<template>
    <div class="">
        <h4>I'm your Test Page</h4>
    </div>
</template>
```

{% endcode %}

2\. After created file you need to declare its route where it can be serve on the browser, suppose you created page will be serve on the route like `http://localhost:8080/test-page` . To access this page define its routes in the `vuely-laravel -> resources -> js -> router -> index.js` file.

```javascript
import Vue from 'vue'
import Router from 'vue-router'

//routes
...
...

Vue.use(Router)

export default new Router({
	mode: 'history',
	routes: [
		...,
		{
			path: '/test-page',
			component: resolve => require(['../views/test-page/TestPage.vue'], resolve),
			meta: {
				title: 'message.testPage',
				breadcrumb: 'Test Page'
			}
		}
	]
})

```

After defining the route you need to add a new menu in the sidebar or horizontal navigation. To add the menu go to the `vuely-laravel->resources->js->store->modules->sidebar` directory and open data.js file.

{% code title="data.js" %}

```javascript
// Sidebar Routers
export const menus = {
	'message.general': [
		...,
		{
			action: 'zmdi-view-dashboard',
			title: 'Test Page',
			path: '/test-page',
			items: null
		}
	]
}
```

{% endcode %}

After completing these above steps you need to run the command `npm run dev` command in the project directory. After running this process you need to run the command `php artisan serve` . It will serve your app on the localhost.

For more customization you can follow the same steps that is in the other documentation topics.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://iron-network.gitbook.io/vuely/vuely-laravel/customization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
