Solution

The Solution object is the top-level object for configuring a solution.

Overview

The Solution object is the top-level object used for configuring a solution. It should be the first object configured in the solution.yaml file.

The solution is created by configuring a hierarchically nested set of routes and a set of named frames.

Example

Below is an example configuration.

kind: Solution
version: v0

SolutionConfig

Name Type Required Description
kind "Solution" Yes The solution describes a web application for Packhunt
version "v0" Yes The Packhunt solution configuration language version
assetsPath string No A valid path to a folder containing assets to be included in the solution
theme string No
login LoginConfig No An object for configuring the login page of a solution.
frames Dictionary<string, FrameConfig> No The frames of the solution
router RouterConfig No The routes of the solution

Login

An object for configuring the login page of a solution.

Router

A Router object for configuring a set of routes.

Frame

A Frame object for configuring a generic container into which content blocks can be inserted.