Skip to content

Conversation

@kenjonespizza
Copy link
Contributor

@kenjonespizza kenjonespizza commented Oct 23, 2025

Summary

Upgrades the template from Nuxt 3 to Nuxt 4 with improved performance and best practices.

Changes

🚀 Nuxt 4 Migration

  • Migrated to Nuxt 4.1.3
  • Adopted new app/ directory structure
  • Updated all Nuxt-related dependencies

📦 Dependency Updates

Frontend:

  • @nuxt/fonts: ^0.11.4
  • @tailwindcss/vite: ^4.1.16
  • groq: 3.74.1 → 4.11.0
  • nuxt: ^4.1.3
  • tailwindcss: ^4.1.16
  • vue: ^3.5.22
  • Removed unused date-fns dependency

Studio:

  • Removed unused date-fns dependency

🐛 Bug Fixes

⚡ Performance Improvements

  • Changed useSeoMeta to useServerSeoMeta for better SEO performance
  • Replaced querySelector DOM manipulation with Vue template refs

📁 File Structure Changes

  • Moved all app files to app/ directory per Nuxt 4 standards
  • Updated imports and paths accordingly

Testing

  • ✅ Dev server runs successfully
  • ✅ All pages render correctly
  • ✅ Sanity integration works
  • ✅ No hydration errors

@kenjonespizza kenjonespizza requested a review from a team as a code owner October 23, 2025 17:50
@vercel
Copy link

vercel bot commented Oct 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sanity-template-nuxt-clean Ready Ready Preview Comment Oct 23, 2025 6:12pm
sanity-template-nuxt-clean-nuxt-app-v2 Ready Ready Preview Comment Oct 23, 2025 6:12pm
sanity-template-nuxt-clean-studio Ready Ready Preview Comment Oct 23, 2025 6:12pm

@socket-security
Copy link

socket-security bot commented Oct 23, 2025

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
typescript@5.9.3 has a License Policy Violation.

License: LicenseRef-W3C-Community-Final-Specification-Agreement (package/ThirdPartyNoticeText.txt)

From: package-lock.jsonnpm/typescript@5.9.3

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/typescript@5.9.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@vercel vercel bot temporarily deployed to Preview – sanity-template-nuxt-clean October 23, 2025 18:05 Inactive
@vercel vercel bot temporarily deployed to Preview – sanity-template-nuxt-clean-nuxt-app-v2 October 23, 2025 18:05 Inactive
@kenjonespizza kenjonespizza changed the title Upgrade to Nuxt 4 Upgrade to Nuxtv4 Oct 23, 2025
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