Next.js Discord

Discord Forum

Is my folder setup wrong for API routes ?

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

13 Replies

Avatar
The pages folder should be outside the app folder
Answer
Avatar
app & pages dir are two different things
Avatar
SiberianOP
is this not correct still ?
Image
Avatar
It's fine now
Avatar
@Siberian so, it worked?
Avatar
SiberianOP
sorry . it works now 🙂
Avatar
SiberianOP
Hi @averydelusionalperson are you still there?
Avatar
I am
Avatar
SiberianOP
So,is there a way I can use this package in a next js application ?
Avatar
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
Avatar
SiberianOP
fair I will do it