Lawpath component service

Guide

Each component should have its own folder inside pages/

The file name should be kebab-case e.g. component-name

Any supporting files should be placed inside components/

Development

1.

Create new folder inside pages/ along with all its files, remembering to follow the correct convention

2.

Add an entry into src/menu.ts; provide a label and target (path) for the new component.

3.

Build the component and test with yarn dev

Release

1.

When ready, run yarn export. This will build and export the static files to the build/public folder