> For the complete documentation index, see [llms.txt](https://thanhminh.gitbook.io/user-agent-generator/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thanhminh.gitbook.io/user-agent-generator/overview/custom.md).

# Custom

Note: During the time that you are modifying, you should be use development server that help you create a local server and you can see it directly. To use it, first you need to install [Node.js](https://nodejs.org/en/), then open terminal / command prompt and type: "npm run serve" to start development server:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F7bb9e9ebea58ebe47a3e632c7c377525246d80cf.png?generation=1588601440823411\&alt=media)

Open link "<http://localhost:8080/#/>":

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F961508f8ca369da65420a0da5b791c1253533a96.png?generation=1588601441402518\&alt=media)

## Layout

### 1. Title

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F8c21d04c2eabb913d4135ea0b80bece5594cb284.png?generation=1588601440030832\&alt=media)

Open "src/App.vue" and you will see:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F31f9103c2618e883adcd1f2643d192e4ac474463.png?generation=1588601440304752\&alt=media)

Take a look at \<v-toolbar-title> element, if you change text inside, the title will change.

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2Ffe9a3542fd6aa18c79bbc6d413ea8e480642ec57.png?generation=1588601440408876\&alt=media)

Example: ![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F3b51a7aa22c63c9cabce10eec69185cc92110084.png?generation=1588601441129374\&alt=media)

Result:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2Fba2777c184c913547a0e38b14ee0ae9f0a3e04eb.png?generation=1588601441201419\&alt=media)

### 2. Toolbar's color

Take a look at the color attribute in \<v-toolbar> element, if you change text inside, the color of toolbar will change.

Note: Find color here: [Vuetify](https://vuetifyjs.com/en/style/colors)

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2Fa2c140e768b19c048102f91ba22483812d175097.png?generation=1588601440693803\&alt=media)

Example:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2Fa2cb380f3e57e555253dced9c8c953aecc0a7a24.png?generation=1588601442009343\&alt=media)

### Result:![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2Fb059ca816bdf56cff5e98752191c6fb0dfabeee1.png?generation=1588601441842270\&alt=media)

### 3. Drawer

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F1ecd7ed4e8aced84e119560d4a36378eba1e0ead.png?generation=1588601441584895\&alt=media)

Scroll down and you will see:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F2ba01437fb6f0ca58ab6668608721bacea321248.png?generation=1588601442837495\&alt=media)

Look at the its properties, you probably understand what it means. You can freely change the "icon" and "title" property, but be careful with the "path" property.

Find icon here: [Material Icon](https://material.io/icons/)

## Category page

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F5aad2181454cd754a25761be26178427ac300228.png?generation=1588601444391170\&alt=media)Open file "category.vue" in folder "src/pages":

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F266fdbb22b30f1cba104b88cfdc2e24bd197ebf8.png?generation=1588601442505368\&alt=media)

Just change each element in "colors" array to the color that you want.

## Custom page

All of the instruction above are special things. All pages of this app located in folder "src/pages", to find out which component corresponds to which router, open file "routes.ts" in "src":

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F177922b7bd96d342525a7f8836d9d45c11563def.png?generation=1588601442685519\&alt=media)

You can add any element such as \<p>, \<h1>, \<h2>,.... Example, in file "index.vue" that it match route "/":

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F395f4f74bf294a6315d451a50424d149b950bca7.png?generation=1588601450251716\&alt=media)

I'm going add a \<h2> element:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F5f59dd4ec522d0544d8ced0fb1f9c4ce4b9237a2.png?generation=1588601442302042\&alt=media)

Result:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2Fe5042a67000ea973c6a17753b87c68bb30a9f36b.png?generation=1588601443205085\&alt=media)

It is similar to other components, but if you want to add some element like button, you won't want to use \<button> element, example:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F48dc6888564abf159c8e061ee5c364d156e0ba10.png?generation=1588601443640041\&alt=media)

Result:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2F7eb9454fc181a9e22ed67d38b3bb3e0829048f20.png?generation=1588601443507494\&alt=media)

This is the time that you need to use Vuetify - a material design component framework that include a large number of components such as button, input, select,...

Example, i will use [\<v-btn>](https://vuetifyjs.com/en/components/buttons) instead of \<button>:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2Fac26db329112b2caab12d427f331a0643428836f.png?generation=1588601444102676\&alt=media)

Result:

![](https://4218276675-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6V0LHaWcW8e5Em56-j%2Fsync%2Fd3c5cfa7ab92531d4c8e48a978b3c4f7532ee092.png?generation=1588601442993708\&alt=media)

So, if you want to go deeper, you will probably want to learn about its [available components](https://vuetifyjs.com/en/components/api-explorer).
