I would like to use VS Code dev container for developing Next.js application. Therefore I do these steps in VS Code:
- New Dev Container,
- After creating container I move out .devcontainer and .github folders into worspace from my container.
- Creating Next.js app directly in the container: npx create-next-app@latest .
- Moving back .devcontainer and .github folders in my container.
- I start the app but 404 error is in the browser.
I do not understand why.