mosaic icon indicating copy to clipboard operation
mosaic copied to clipboard

Quick Start Guide

Open DavieReid opened this issue 1 year ago • 2 comments

Create a new Quick Start Guide for creating a new mosaic site.

Probably best to create a new generator that does not add mosaic specific sources but instead adds some sample docs.

Prerequisites

yarn v1 Node v 16+

Steps

  1. yarn init - to create a package.json
  2. yarn add @jpmorganchase/mosaic-create-site -W
  3. yarn mosaic-create-site init
  4. yarn mosaic-create-site create -i -o site
  5. cd site
  6. yarn build
  7. yarn serve

NOTES

When adding to an existing monorepo as a new site package, had to run prettier on the generated site.

DavieReid avatar Apr 27 '23 11:04 DavieReid