Add Open Graph inspector to Vite DevTools

Open
#242 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
devtools, web-dev

Research direction

Start by reviewing the referenced Nuxt DevTools implementation at packages/devtools/client/pages/modules/open-graph.vue, then locate the corresponding Vite DevTools entry point for a new inspector. Done means development mode can preview title, description, and image metadata, identify missing or incorrect tags, and show the expected social-sharing appearance.

Written by the indexing model from the issue text.

Description

enhancement
Clear and concise description of the problem

It would be valuable to introduce an Open Graph inspector in Vite DevTools for development mode.

Suggested solution

This feature, inspired by Nuxt DevTools, would allow developers to:

Preview Open Graph metadata (title, description, image, etc.)
Quickly debug incorrect or missing tags
See how pages will appear when shared on social platforms

Since this is not framework-specific, it would be a great addition to Vite DevTools and improve the debugging experience for any Vite-based project.

Alternative

No response

Additional context

https://github.com/nuxt/devtools/blob/main/packages/devtools/client/pages/modules/open-graph.vue

Validations
Dominant language
TypeScript
Stars
1.2k
Forks
89
Avg merge
18h 46m
Merged PRs (30d)
24

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vitejs/devtools

All issues in vitejs/devtools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.