docs: improve responsiveness #505
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π Linked issue
Resolves #504
β Type of change
π Description
This pull request upgrades the documentation site from
@nuxt/ui-pro
to the new@nuxt/ui
v4 alpha and updates related dependencies and code to match the new UI library. It also refactors several components to use updated UI primitives and navigation logic, and synchronizes the lockfile with new package versions.UI Library Migration
@nuxt/ui-pro
to@nuxt/ui@4.0.0-alpha.2
across the codebase (docs/package.json
,docs/nuxt.config.ts
,docs/app/assets/css/main.css
,pnpm-lock.yaml
).Component Refactoring for New UI
Header.vue
to use the new navigation injection, route-based navigation logic, andUNavigationMenu
/UContentNavigation
components for improved navigation structure.docs.vue
layout to use new container and page primitives (UMain
,UContainer
,UPage
,UPageAside
) and moved navigation logic to match new UI conventions.UButtonGroup
withUFieldGroup
inindex.vue
to align with new component naming and usage.These changes collectively modernize the documentation site to use the latest Nuxt UI library and ecosystem, improving maintainability and aligning with current best practices.