Skip to content

Modernization#8

Closed
Ewocker wants to merge 16 commits intomainfrom
modernization
Closed

Modernization#8
Ewocker wants to merge 16 commits intomainfrom
modernization

Conversation

@Ewocker
Copy link
Copy Markdown
Owner

@Ewocker Ewocker commented Apr 5, 2026

No description provided.

Ewocker and others added 16 commits April 5, 2026 14:04
Replace @nuxtjs/tailwindcss module with @nuxt/ui (which includes Tailwind
internally). Upgrade Nuxt from 3.x to 4.4.2 as required by Nuxt UI v3.
Add app.config.ts with purple/slate color theme, wrap app.vue content in
UApp component, and configure system color mode preference.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace custom header with UHeader, UNavigationMenu, and UButton from
Nuxt UI v4. Adds dark mode toggle via useColorMode(), sticky positioning,
and mobile hamburger menu via UHeader's content slot.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Migrate from @nuxt/content v2 to v3 to resolve CSS loading issues
with @nuxt/ui v4. Key changes:
- Add content.config.ts with collection schema for custom frontmatter
- Add pages/[...slug].vue catch-all to replace document-driven mode
- Replace queryContent() with queryCollection('content') API
- Replace useContent() with inject/provide pattern
- Update all layouts, components, and types for v3 property names
- Add better-sqlite3 dependency required by content v3

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
In @nuxt/content v3, .path() does exact match (WHERE path = '/blog'),
not prefix match. Replace all .path('/blog/') calls with
.where('path', 'LIKE', '/blog/%') to correctly query nested content.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add @custom-variant dark for Tailwind v4 class-based dark mode
- Remove conflicting top-level colorMode config (Nuxt UI handles it)
- Add gap to nav menu items via UNavigationMenu ui.list
- Add title/description to UHeader for mobile menu panel

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 5, 2026

Deploy Preview for heartfelt-tiramisu-bad9b0 failed.

Name Link
🔨 Latest commit e7c28c7
🔍 Latest deploy log https://app.netlify.com/projects/heartfelt-tiramisu-bad9b0/deploys/69d2e9974a2b490008def71a

@Ewocker Ewocker closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant