Getting `wrangler pages dev` to work with nextjs

I am currently using nextjs and wrangler inside VScode and Devcontainers.

I followed the following guide in the documentation to create a new app.

To test out the new app, running the following will set up the wrangler server, and I am able to navigate to /public/{files}.svg
wrangler pages dev /{app-folder} --ip 127.0.0.1,

However, I am not able to render any of my .tsx files or the webpage at all.

What am I missing that is causing this? Is there any documentation out there that can help to get this to work?
Was this page helpful?