Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce20ef2

Browse files
authored
docs(blog): review migration article
1 parent ad47af0 commit ce20ef2

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docs/content/blog/ui-pro-docs-migration.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Migrate Nuxt UI Pro Documentation Starter
3-
description: How to upgrade your Nuxt UI Pro documentation to Content and UIPro v3
3+
description: How to upgrade your Nuxt UI Pro documentation to Content and UI v3
44
image:
55
src: /blog/migrate-docs-starter.png
66
authors:
@@ -440,7 +440,7 @@ New `UError` component can be used as full page structure.
440440
- Instead of the `NavigationTree` component you can use the `NavigationMenu` component or the `ContentNavigation` component to display content navigation.
441441

442442
::prose-code-group
443-
```vue [header.vue (v3)]
443+
```vue [Header.vue (v3)]
444444
<script>
445445
// Content navigation provided by queryCollectionNavigation('docs')
446446
const navigation = inject<Ref<ContentNavigationItem[]>>('navigation')
@@ -458,7 +458,7 @@ const navigation = inject<Ref<ContentNavigationItem[]>>('navigation')
458458
</template>
459459
```
460460

461-
```vue [header.vue (v1)]
461+
```vue [Header.vue (v1)]
462462
<script>
463463
// Content navigation provided by fetchContentNavigation()
464464
const navigation = inject<Ref<NavItem[]>>('navigation')
@@ -596,8 +596,6 @@ Landing components have been reorganised and standardised as generic `Page` comp
596596
- `LandingSection` => `PageSection`
597597
- `LandingCard` => `PageCard` (we'll use the `PageFeature` instead)
598598

599-
.
600-
601599
:::prose-tip{to="https://github.com/nuxt-ui-pro/docs/blob/v3/content/index.md"}
602600
Have a look at the final `Markdown` result on GitHub.
603601
:::
@@ -611,8 +609,6 @@ Landing components have been reorganised and standardised as generic `Page` comp
611609
- `Aside` component has been renamed to `PageAside` .
612610
- `ContentNavigation` component can be used (instead of `NavigationTree`) to display the content navigation returned by `queryCollectionNavigation`.
613611

614-
.
615-
616612
:::prose-code-group
617613
```vue [layout/docs.vue (v3)]
618614
<template>
@@ -653,7 +649,7 @@ Landing components have been reorganised and standardised as generic `Page` comp
653649
#### Catch-all pages
654650

655651
- `Divider` has been renamed to `Separator`
656-
- `FindPageHeadline` must be imported from `#ui-pro/utils/content`
652+
- `findPageHeadline` must be imported from `#ui-pro/utils/content`
657653
- `prose` property does not exist no more on `PageBody` component.
658654
::
659655

0 commit comments

Comments
 (0)