solutionConfig
Examples
kind: Solution
version: v0
frames: # OPTIONAL
my-home-frame:
kind: Frame
my-child-frame1:
kind: Frame
my-child-framew:
kind: Frame
router: # OPTIONAL
kind: Router
routes:
frame: my-home-frame # routerLink is /my-home-frame
children:
- frame: my-child-frame1 # routerLink is /my-home-frame/my-child-frame1
- frame: my-child-frame2 # routerLink is /my-home-frame/my-child-frame2
- frame: my-child-frame3 # routerLink is /my-home-frame/my-child-frame3
Object properties
Name |
Type |
Required |
kind |
Constant: Solution |
yes |
version |
Constant: v0 |
yes |
assetsPath |
string |
no |
frames |
Dictionary |
no |
router |
Object: routerConfig |
no |
- Object with the following properties:
kind
(required): Constant Solution
- The solution describes a web application for Packhunt
version
(required): Constant v0
- The Packhunt solution configuration language version
assetsPath
(optional): string
- A valid path to a folder containing assets to be included in the solution
frames
(optional):
- The frames of the solution
- Dictionary of:
router
(optional): Object routerConfig