I try to create a build production of my ohif to put it in my public folder of my React + Vite project.
I do all the steps contains in the docs for “Build in Production” and in “Iframe”.
First, In my Viewers git fork, I update the default config for routerBaseName: '/ohif'
Then I build with this command: PUBLIC_URL=/ohif/ APP_CONFIG=config/default.js yarn build
When the build is finished, I copy paste my dist folder to my public folder in the React project.
I rename dist by ohif.
After all this step, I launch my react project and when I go on http://localhost:3000/ohif, nothing appear…
I think, I forgot something or misunderstood a step.
Can you help me ?