Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.09 KB

File metadata and controls

25 lines (16 loc) · 1.09 KB

Upload file with Next.js and Server Actions

This example shows how you can build upload forms with Next.js and Server Actions.

Deploy your own

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example server-actions-upload server-actions-upload-app
yarn create next-app --example server-actions-upload server-actions-upload-app
pnpm create next-app --example server-actions-upload server-actions-upload-app

Deploy it to the cloud with Vercel (Documentation).