The c‎wrapRoute is an embedded JavaScript property used to automatically retrieve and pass relative route information within the cwrap framework. It ensures that navigation and resource linking are handled efficiently by maintaining consistency in route definitions and simplifying the management of relative paths throughout the application.

{
  "": "{‎w{c‎wrapContext.set('route',c‎wrapRoute.split('\\')); return '';}‎w}",
  "element": "c‎wrap-template",
  "text": "c‎wrapTemplate[documentation(prefix=../../,prefixAside=../,{‎w{return c‎wrapContext.get('route')[1]}‎w}Focus=focus)]",
  "pass‎overRef": "documentation",
  "pass‎over": [
    {
      "element": "div",
      "style": "display: flex; flex-direction: column; max-width: 60em; white-space: pre-wrap;",
      "children": [
        {
          "element": "p",
          "text": "\tTo run the development server, use the following command:",
          "style": "margin-bottom: 1em; white-space: pre-wrap;"
        },
        {
          "element": "div",
          "style": "background-color: #14253D; border-radius: 8px; display: flex; flex-direction: column; gap: 2em; height: fit-content; max-height: max-content; min-height: fit-content; overflow-x: auto; overflow-y: auto; width: 100%;",
          "children": [
            {
              "element": "pre",
              "text": "npm run dev",
              "style": "box-sizing: border-box; margin: 0; padding: 1em; width: fit-content;"
            }
          ]
        }
      ]
    }
  ]
}