- Run
yarn nx g @nrwl/react:lib components
- Delete content inside libs/components/src/lib
- Run
yarn nx g @nrwl/react:component header --project=components
- Run yarn build
- Copy the folder outside
- Checkout to gh-pages branch and remove everything inside
- Move new folder's content into the root of the gh-pages
- For some reason, github is not loading assets properly (need to find out why)
- Add /cv/ prefix to all "/assets/" references
- Add /cv/ prefix to assets inside index.html
- Add /cv/ prefix to elementTargetId inside main.*.js file. Should look like (cv/#${e.targetElementId})