This shows how you can upload a file to Next.js 13 in the app directory using server components. The example is found in app/page.tsx
.
Install deps:
pnpm install
First, run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.