Replies: 2 comments
-
Hey @DCBucks — welcome to the Next.js world! No worries, this stuff can be confusing at first. Based on what you described, here are a few things to check that might solve the issue: 1. You might be seeing a cached production buildIf you’re deploying on Vercel or another platform, changes won’t show up unless you redeploy the site. Try this:
If you’re working locally and it’s not updating:
2. Old static files may be interferingIf you had an old static HTML/CSS site (e.g., in a
If you're not using those old files anymore, it’s a good idea to:
3. Understand Next.js routing and file priorityNext.js uses files inside So:
4. Try this testCreate a new file at:
Add: export default function Test() {
return <h1>This is a test page</h1>;
} Then visit ✅ Final tips
|
Beta Was this translation helpful? Give feedback.
-
Can you explain further? What is it you are doing? Step by step. Be clear with what environment, development, or production, is it production builds locally, or remotely? How are you deploying the application? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am using cursor and I had just switched from a static app to Next Js to add features like login and account creation. However, when I make a change to the site (literally anything), nothing happens. I have cleared cache, hard reset, everything. I have no idea why this is happening.
Granted I am very new to this software, so I am not the best at this.
Maybe its because of my 3 static files for the old site, but I am not editing that old css file, only the new one for Next Js. Also, I probably should delete the 3 static files, as I am no longer in need for them. But when I deleted them, my new site would not load at all, which makes absolutely no sense because I don't use the static files anymore, I use the Next Js.
Hope someone can help, thanks.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions