Next.js Discord

Discord Forum

Is my folder setup wrong for API routes ?

Answered
i_lost_to_loba_kreygasm posted this in #help-forum
Open in Discord
Anybody can help me correct the folder setup ? I dont see the json
Answered by averydelusionalperson
The pages folder should be outside the app folder
View full answer

13 Replies

The pages folder should be outside the app folder
Answer
app & pages dir are two different things
@averydelusionalperson The pages folder should be outside the app folder
is this not correct still ?
It's fine now
@i_lost_to_loba_kreygasm so, it worked?
sorry . it works now 🙂
Hi @averydelusionalperson are you still there?
I am
So,is there a way I can use this package in a next js application ?
ahh, this is a different question, I suggest creating a new post on #help-forum
that way you'll get more help & questions are better managed
fair I will do it