A question about basePath
#61
SiarheiBobryk
started this conversation in
General
Replies: 4 comments
|
Surely because you are using the unique repository provided by GitHub 'name.github.io,' that is the reason why it is not necessary to add the 'basepath.' In case you have another different repository, you would need to add to the basepath the name of your repository as @gregrickaby explains. Greetings! |
0 replies
|
Thanks for answering, @ChuckmonsterXlx! One small clarification. For For the rest of repos (for example, Correct? |
0 replies
|
It's right! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey, @gregrickaby!
First of all, BIG thanks for your detailed instructions and the yml-file. I've been looking for a good starting boilerplate for deploying a Nextjs App via GitHub Pages and finally found it. You've helped me a lot.
Allow me to ask you a question.
I followed your manual in README.md but did not manage to make it. There was something wrong the path to images. Then I started experimenting. Eventually, the following changes worked for me:
next.config.mjs:srcprop ofImage.See my working commit
I'm trying to understand how it works, but I cannot get why the method above works for my repo? Maybe they've changed something in the API. Please explain.
Thank you!
All reactions