I've a Serverless application that do specific logics return templates from React component. however now I want to let developers of others teams to see these templates on their local before deployment.
for that I need to populate specific templates ;react component; inside html page
so usually I've two files
index.html
index.js
index file which retrieve the component from the rest of the Serverless application
enter image description here
index page which visualize this component
enter image description here
and when i build the code with npm run build it's being build
and when i open the html page I received this error in the console enter image description here
overall what i need might someone have a better idea, enter image description here i want to consume some logic from the src which is built later under lib , want to consume it inside my html page