This repository was archived by the owner on Aug 17, 2026. It is now read-only.
Upgrade Nuxt - #20
Open
rewired-gh wants to merge 10 commits into
Open
Conversation
…oved data handling
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the Nuxt setup to align with new dependencies and API changes while modernizing page components and removing outdated Storybook configs. Key changes include:
- Updating Tailwind, Nuxt, and content configurations along with module replacements (e.g., replacing nuxt-icon with @nuxt/icon).
- Refactoring page components and collection queries to use the new queryCollection API and updating property names (from _path to path).
- Removing outdated Storybook configuration files.
Reviewed Changes
Copilot reviewed 17 out of 19 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tailwind.config.mjs | Updated import order and added CSS custom properties for slate |
| pages/news/[id].vue & pages/[id].vue | New page components using useAsyncData with queryCollection |
| pages/news/[...slug].vue & pages/[...slug].vue | Removed obsolete catch-all pages |
| nuxt.config.ts | Revised configuration with updated modules and new options |
| layouts/default.vue | Adjusted layout classes for improved responsiveness |
| content.config.ts | Introduced content collections for news and fallback pages |
| components/news/* | Updated usage from _path to path and adjusted type definitions |
| components/index/NewsWidget/* | Aligned NewsWidget links and queries with new digest structure |
| components/Navbar.vue | Tweaked classes for header responsiveness |
| .storybook/* | Removed outdated Storybook configurations |
Files not reviewed (2)
- .vscode/settings.json: Language not supported
- package.json: Language not supported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.