function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bhanu_prakashbhanu_prakash 

how to deploy LWC open source in github pages

Hi,
I am working on test LWCOSS and need to deploy in Github pages. Now my github site is not rendering.
my github site: https://forcelearn.github.io/LWCOSSTest/
my git source repo
https://github.com/forcelearn/LWCOSSTest
"predeploy": "yarn build",
        "deploy": "gh-pages -d build",
        "watch:production": "lwc-services watch --mode=production"
if i test with react application its rendering perfectly
I have added below code in package.json under scripts to work in react
"predeploy": "yarn build",
      "deploy": "gh-pages -d build"
 https://forcelearn.github.io/testreactapp/ (https://forcelearn.github.io/testreactapp/)

anyone can help?

Thanks,
Bhanu Prakash
kishore bandanadamkishore bandanadam
I have worked on the same topic and found the best solution and wrote an article on "How to deploy LWC OSS to Github Pages". Please have a look at it and let me know if it helps you
Link to article: How to deploy LWC OSS to Github Pages (https://www.salesforcelwc.in/deploy-lwc-oss-to-github-pages.html)
LIVE APP in Github Pages: http://app.salesforcelwc.in/
Jennifer CharlesJennifer Charles
Thanks for the great share and keep up this good work!. https://stopcollectionagencies.org/
Jennifer CharlesJennifer Charles
Thank you a lot for take the time for such a good information. https://tammygazdahomes.com/
Valdez JonasValdez Jonas
Thanks for sharing this wonderful information LiteBlue (https://www.liteblue.one/)