NextJS on pages
Answered
West African Lion posted this in #help-forum
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
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
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
@West African Lion 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
Add app/not-found.tsx with any content you want, and export const runtime = "edge" there
Answer
All pages and route handlers also need that runtime export
West African LionOP
okay ty