Next.js Discord

Discord Forum

NextJS on pages

Answered
West African Lion posted this in #help-forum
Open in Discord
West African LionOP
https://paste.learnspigot.com/dohipeqiro.makefile

Code is close to bare create-t3, this error happened attempting to add a shadcn ThemeProvider. Let me know what I can send code wise
Answered by joulev
Add app/not-found.tsx with any content you want, and export const runtime = "edge" there
View full answer

6 Replies

West African LionOP
I can just host it on azure or a dedi if that’s easier
i don’t mind paying that way
vercel is just expensive atm compared to overall costs, we want to have small margins to gain customers and paying 200 a month for vercel isn’t that great
Answer
All pages and route handlers also need that runtime export
West African LionOP
okay ty