Closed manojleaton closed 5 months ago
If you run yarn docs-build --base=/react-native-dev/
the build runs and updates index with
<link rel="icon" type="image/svg+xml" href="/react-native-dev/favicon.png" />
<script type="module" crossorigin src="/react-native-dev/assets/index-fDwAcujb.js"></script>
<link rel="stylesheet" crossorigin href="/react-native-dev/assets/index-8shxMeuW.css">
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
so this should be researched and verified this is correct or do something different.