New to Kendo UI for jQueryStart a free 30-day trial

Root

configuration

Applicable if pushState is used and the application is deployed to a path different than /. If the application start page is hosted on http://foo.com/myapp/, the root option should be set to /myapp/.

root

String

Default: "/"

<script>
    var router = new kendo.Router();
    var router = new kendo.Router({ pushState: true, root: "/myapp/" });

    $(function() {
      router.start();
      router.route("bar", function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
          console.log("navigated to bar");
      });

      router.start();
    });
</script>
Not finding the help you need?
Contact Support