Routing with a single frame

A solution may contain a page with just a single frame.

Configuration

Below is the configuration file for this example.

kind: Solution
version: v0
router:
  kind: Router
  routes:
    - frame: home # routerLink /home
frames:
  # ====== HOME FRAME ======
  home:
    kind: Frame
    # more...

The Router maps router links to web pages. Each web page may contain multiple frames of content. In this case, we have a web page that contains just a single frame. So the router maps the router link /home to the frame called home.

Note that router links always start with a / and do not have a trailing /.