Visitar URL original
docs: Tutorial step 3: opening the Vite URL returns "Cannot find any route matching" · Issue #456 · devframes/devframe · GitHub
Skip to content

docs: Tutorial step 3: opening the Vite URL returns "Cannot find any route matching" #456

Open

Description

@iamjeffwan

Following https://devfra.me/guide/tutorial-server-data-inspector, Step 3.

I copied the Vite config as written:

import { devframeViteBridge } from '@devframes/vite/single'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
import dataInspectorFrame from '../src/node/data-inspector.ts'

export default defineConfig({
  base: './', // relative asset URLs, so the built UI works under any mount path
  build: { outDir: '../dist/client', emptyOutDir: true },
  plugins: [
    react(),
    // Vite serves the page; the bridge answers RPC on the same origin, so
    // `connectDevframe()` just finds it. `auth: false`, see the note below.
    devframeViteBridge(dataInspectorFrame, { base: '/', auth: false }),
  ],
})

Then ran npx vite --config app/vite.config.ts and opened the printed URL.

The response is:

{"status":404,"message":"Cannot find any route matching [GET] http://localhost:5174/"}

Versions:

@devframes/vite 1.2.6
devframe 1.2.6
vite 8.3.5
Node 24.13.0

Activity

  1. changed the title [-]Tutorial step 3: opening the Vite URL returns "Cannot find any route matching"[/-] [+]docs: Tutorial step 3: opening the Vite URL returns "Cannot find any route matching"[/+] on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions