Streamlit app working with dev server and not in production

I have created an app that uses Vue for the frontend. I followed the documentation and the available reactless-template in the GitHub repo.

My code is working locally when running npm run start which internally invokes the script vue-cli-service serve. However, when I build the code for deploying with npm run build which uses vue-cli-service build (I rename the build folder from dist to build) it doesnโ€™t work any more and it gives me the following message:

Your app is having trouble loading the streamlit_app.terminal component.

(The app is attempting to load the component from *, and has not received its "streamlit:componentReady" message.)

If this is a development build, have you started the dev server?
If this is a release build, have you compiled the frontend?
For more troubleshooting help, please see the Streamlit Component docs or visit our forums.

Is it possible that it is not working because of the npm run start?

P.S. my code is available on GH as well, it might give a better idea!.

Any ideas or comments are welcome :wink:

Hey there,
Did you manage to solve this?
I have the same issue.

Thanks!