When I run the yarn docz:build packaging command, the file will be generated in .docz/dist. When I view it locally, it shows that the file cannot be found, and there are cross-domain problems.*
I don't know why this is happening. I want to host it on github pages and it will be the same.
But when I host it on the server, it can be accessed normally.
This is the error message in my browser
Can I only deploy it on my server, but I want to deploy it to github pages. Does anyone know how to solve this problem?
Question
Description
When I run the yarn docz:build packaging command, the file will be generated in .docz/dist. When I view it locally, it shows that the file cannot be found, and there are cross-domain problems.*
I don't know why this is happening. I want to host it on github pages and it will be the same.
But when I host it on the server, it can be accessed normally.
This is the error message in my browser
Can I only deploy it on my server, but I want to deploy it to github pages. Does anyone know how to solve this problem?