etn-ccis / blui-react-native

This monorepo includes all the Brightlayer UI's react native resources
1 stars 2 forks source link

Set up Github Actions configuration for RN Dev docs #20

Closed manojleaton closed 5 months ago

JeffGreiner-eaton commented 5 months ago

image

image

so this should be researched and verified this is correct or do something different.

JeffGreiner-eaton commented 5 months ago

If you run yarn docs-build --base=/react-native-dev/ the build runs and updates index with

We need some research done to insert the base href that is needed for Github pages via flag in build command or shell to insert either dev or prod and at some point in the past this did work with vite --baseHref=/<your repository name>/ but since NX and vite are pushing the use of their cloud services this no longer works Unknown option --baseHref

see the react file for reference and search for href https://raw.githubusercontent.com/brightlayer-ui-components/react-dev/master/index.html

I also added the 404 file in latest push and we also need to research the need for manifest file as well