We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa4835e commit d2e2d38Copy full SHA for d2e2d38
packages/docs/src/App.vue
@@ -21,8 +21,16 @@
21
const path = computed(() => route.path.replace(`/${locale.value}/`, ''))
22
23
const meta = computed(() => {
24
+ let title = route.meta.title
25
+
26
+ // API pages
27
+ if (route.meta.title === 'API') {
28
+ const name = route.params.name as string
29
+ title = `${name.charAt(0).toUpperCase()}${camelize(name.slice(1))} API`
30
+ }
31
32
return genAppMetaInfo({
- title: `${route.meta.title}${path.value === '' ? '' : ' — Vuetify'}`,
33
+ title: `${title}${path.value === '' ? '' : ' — Vuetify'}`,
34
description: frontmatter.value?.meta.description,
35
keywords: frontmatter.value?.meta.keywords,
36
assets: frontmatter.value?.assets,
0 commit comments