Vitepress DetectorVitepress logo

Find websites built with Vitepress

Browse all Vitepress website examples here.

How can you detect if a website uses VitePress?

Detecting if a website uses VitePress involves identifying specific markers characteristic of VitePress applications.

Here’s a step-by-step guide on how to do it:

  1. Open the Page Source: Right-click on the webpage and select “View Page Source” or press Ctrl+U (Windows) or Cmd+Option+U (Mac) to open the page source code.
  2. Search for VitePress Markers: Use Ctrl+F (Windows) or Cmd+F (Mac) to open the search function and look for the following keywords:
    • VitePressApp: This is a common identifier in VitePress applications. Look for something like window.VitePressApp in the scripts section.
    • vitepress: This keyword is often present in the script files or URLs. For instance, look for <script src="https://cdn.jsdelivr.net/npm/vitepress"></script>
  3. Check for VitePress-Specific HTML Structure: VitePress generates specific HTML elements and classes. Look for:
    • <div class="vp-content">: This class is typically generated by VitePress.
    • <header class="vp-header">: A common header structure in VitePress sites.
  4. Look for VitePress Configuration File: If you can access the website’s repository or documentation, look for a configuration file named vitepress.config.js. This file contains settings specific to VitePress.
  5. Inspect the JavaScript Loading Order: VitePress often prioritizes loading its own scripts. Use the browser’s developer tools (usually accessible via F12 or right-click and select “Inspect”) and check the “Network” tab for scripts loading from VitePress.
  6. Examine the Meta Tags: VitePress may include specific meta tags indicating its use. Look for tags like <meta name="description" content="VitePress v1.5.0">.
  7. Look for VitePress Documentation Links: Many websites using VitePress provide documentation that often references VitePress-related links or resources. Look for mentions of vitepress in any footer links.