Skip to content

chore: vite-devtools example#3775

Open
productdevbook wants to merge 12 commits intonitrojs:mainfrom
productdevbook:example-devtools
Open

chore: vite-devtools example#3775
productdevbook wants to merge 12 commits intonitrojs:mainfrom
productdevbook:example-devtools

Conversation

@productdevbook
Copy link
Contributor

@productdevbook productdevbook commented Nov 10, 2025

https://vite-devtools.netlify.app/guide/


Vite version

CleanShot 2025-11-10 at 16 28 31@2x

vite + nitro (now dont working)

CleanShot 2025-11-10 at 16 31 22@2x

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

- Created index.html for the frontend interface.
- Added nitro.config.ts for Nitro configuration.
- Set up package.json with necessary dependencies and scripts.
- Implemented quote fetching logic in routes/quote.ts from a remote JSON source.
- Configured TypeScript settings in tsconfig.json.
- Established Vite configuration in vite.config.ts with Nitro and DevTools plugins.
@productdevbook productdevbook requested a review from pi0 as a code owner November 10, 2025 13:31
@vercel
Copy link

vercel bot commented Nov 10, 2025

@productdevbook is attempting to deploy a commit to the Nitro Team on Vercel.

A member of the Team first needs to authorize it.

@productdevbook productdevbook changed the title feat: add Vite Nitro DevTools example with quotes API integration examples: add Vite Nitro DevTools example with quotes API integration Nov 10, 2025
@productdevbook productdevbook changed the title examples: add Vite Nitro DevTools example with quotes API integration examples: add Vite Nitro DevTools Nov 10, 2025
@pi0 pi0 changed the title examples: add Vite Nitro DevTools examples: add vite-nitro-devtools Nov 10, 2025
@pi0 pi0 changed the title examples: add vite-nitro-devtools chore: add vite-devtools example Nov 10, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 10, 2025

Open in StackBlitz

npm i https://pkg.pr.new/nitrojs/nitro@3775

commit: 11707b7

@pi0 pi0 requested a review from antfu November 10, 2025 13:55
@pi0 pi0 changed the title chore: add vite-devtools example fix(dev): support vite-devtools Nov 10, 2025
@pi0 pi0 changed the title fix(dev): support vite-devtools fix(vite): support vite-devtools in dev mode Nov 10, 2025
@pi0
Copy link
Member

pi0 commented Nov 10, 2025

Dev now works with vite. For production, i'm not sure how to fix this:

image

@antfu
Copy link
Member

antfu commented Nov 11, 2025

Production mode is not fully working and I need to work on it more

@pi0 pi0 changed the title fix(vite): support vite-devtools in dev mode chore: vite-devtools example Nov 18, 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.

3 participants