diff options
Diffstat (limited to 'docs/guide/components/page-title/index.md')
-rw-r--r-- | docs/guide/components/page-title/index.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/guide/components/page-title/index.md b/docs/guide/components/page-title/index.md index b51ab640..db43f29f 100644 --- a/docs/guide/components/page-title/index.md +++ b/docs/guide/components/page-title/index.md @@ -1,5 +1,7 @@ # Page title -The `<page-title>` component will automatically render the page title that corresponds with the title property set in the route record's meta field in `src/router/routes.js`. +The `<page-title>` component will automatically render the page title that +corresponds with the title property set in the route record's meta field in +`src/router/routes.js`. ```js // src/router/routes.js @@ -13,11 +15,14 @@ The `<page-title>` component will automatically render the page title that corre }, ``` -Optional page descriptions can be included by using the description prop `:description` prop and passing in the i18n localized text string. Translations are found in the `src/locales` folder. +Optional page descriptions can be included by using the description prop +`:description` prop and passing in the i18n localized text string. Translations +are found in the `src/locales` folder. ``` vue // Example: `src/views/AccessControl/Ldap/Ldap.vue` <page-title :description="$t('pageLdap.pageDescription')" /> ``` -[View the page title component source code](https://github.com/openbmc/webui-vue/blob/master/src/components/Global/PageTitle.vue). +[View the page title component source +code](https://github.com/openbmc/webui-vue/blob/master/src/components/Global/PageTitle.vue). |