Nextjs app deploy in sub folder
Unanswered
Kombai posted this in #help-forum
KombaiOP
How can I deploy my app in sub folder not in sub domain?
3 Replies
@Kombai How can I deploy my app in sub folder not in sub domain?
by changing the root directory, in the vercel dashboard or when you import the first time
@ᴉuɐpɹɐɐ by changing the root directory, in the vercel dashboard or when you import the first time
White-winged Scoter
We can actually use
basePath to set the subfolder. However, we can't provide values for the src attribute of the <Image> tag without specifying the subfolder. Why is that?