Open shubham-vEngageAi opened 3 years ago
i bulid my react chat bot app. Now I want to deploy my app to client .So I ran a command yarn run build. So from build folder, I ran index.html file .my app is running properly but images are broken .i am not able to figure out , how to resolve this issue. please help me to resolve this issue.
I suspect this is more related to how public assets are served from create-react-app, and not related to this library. How are you using your images in your application?
I was using the image as a static image but right now I gave the src =url now it's working but it was not taking from my actual root path so for time being I gave a URL of an image
On Tue, 27 Apr, 2021, 2:55 am Fredrik Strand Oseberg, < @.***> wrote:
i bulid my react chat bot app. Now I want to deploy my app to client .So I ran a command yarn run build. So from build folder, I ran index.html file .my app is running properly but images are broken .i am not able to figure out , how to resolve this issue. please help me to resolve this issue.
[image: imageBroken] https://user-images.githubusercontent.com/76420996/116043429-44cfca00-a68d-11eb-970d-6c866029d044.png ( https://user-images.githubusercontent.com/76420996/116043212-00442e80-a68d-11eb-992e-fd616991d134.png )
I suspect this is more related to how public assets are served from create-react-app, and not related to this library. How are you using your images in your application?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FredrikOseberg/react-chatbot-kit/issues/50#issuecomment-827156594, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHBPBFBOG4EDRKNUYUJZQDTKXK5FANCNFSM43SIYDXA .
i bulid my react chat bot app. Now I want to deploy my app to client .So I ran a command yarn run build. So from build folder, I ran index.html file .my app is running properly but images are broken .i am not able to figure out , how to resolve this issue. please help me to resolve this issue.
(https://user-images.githubusercontent.com/76420996/116043212-00442e80-a68d-11eb-992e-fd616991d134.png)