Skip to content

WBC-Routes2Dynamic Routing Engine for WBC-UI

Turn Vue Router into a content engine — render Markdown, HTML, JSON, files, and live Vue components straight from your route definitions. No extra .vue views, no build steps.

Why WBC-Routes2?

WBC-Routes2 is a content orchestration layer on top of Vue Router. Instead of declaring a .vue view per route, you describe what a route should render as data — and the single WBC component does the rest:

js
{
  path: "/guide",
  name: "GuideRoute",
  component: WBC,
  props: {
    item: "./docs/guide.md"   // Markdown, file, URL, JSON, HTML, or an array of them
  }
}

That one idea scales from a single Markdown page to multilingual, SEO-aware, encrypted dynamic views — all without extra build steps. Browse the sidebar for route sources, configuration, advanced features, and recipes.