Next.js Discord

Discord Forum

Nextjs 14.2.8

Answered
pauldippies posted this in #help-forum
Open in Discord
Avatar
pauldippiesOP
I've been trying to use static files such as image for my simple app. But the public directory is now missing when using create-next-app.

Is there any resources that talks about the removal of the public directory? As i don't see it in the releases section.
Answered by joulev
its existence is not required – if you don't need it you can always remove it and if you need it you can always add it
View full answer

3 Replies

Avatar
joulev
dunno about whether they removed the public dir or not (havent used create-next-app 14.2.8 yet), but you can always create one yourself
Avatar
joulev
its existence is not required – if you don't need it you can always remove it and if you need it you can always add it
Answer
Avatar
pauldippiesOP
it was indeed optional, I was just used to having public dir in my projects. Thank you!