rsnext/examples/next-forms
Maedah Batool 790db2c2e4
Working example for building forms with Next.js (#32669)
* feat: Forms example

* docs: deploy button

* Update examples/next-forms/package.json

Co-authored-by: Lee Robinson <me@leerob.io>

* Update examples/next-forms/package.json

Co-authored-by: Lee Robinson <me@leerob.io>

* Update examples/next-forms/package.json

Co-authored-by: Lee Robinson <me@leerob.io>

* Update examples/next-forms/pages/js-form.js

Co-authored-by: Lee Robinson <me@leerob.io>

* Update examples/next-forms/pages/js-form.js

Co-authored-by: Lee Robinson <me@leerob.io>

* Update examples/next-forms/pages/index.js

Co-authored-by: Lee Robinson <me@leerob.io>

* Update examples/next-forms/README.md

Co-authored-by: Lee Robinson <me@leerob.io>

* Update comments formatting

* Improve docs for correct examples format.

* Lint tests

Co-authored-by: Lee Robinson <me@leerob.io>
2022-01-17 14:20:50 +01:00
..
pages Working example for building forms with Next.js (#32669) 2022-01-17 14:20:50 +01:00
public Working example for building forms with Next.js (#32669) 2022-01-17 14:20:50 +01:00
styles Working example for building forms with Next.js (#32669) 2022-01-17 14:20:50 +01:00
.eslintrc.json Working example for building forms with Next.js (#32669) 2022-01-17 14:20:50 +01:00
.gitignore Working example for building forms with Next.js (#32669) 2022-01-17 14:20:50 +01:00
next.config.js Working example for building forms with Next.js (#32669) 2022-01-17 14:20:50 +01:00
package.json Working example for building forms with Next.js (#32669) 2022-01-17 14:20:50 +01:00
README.md Working example for building forms with Next.js (#32669) 2022-01-17 14:20:50 +01:00

Building Web Forms with Next.js Example

This example shows how you can build forms with Next.js.

Preview

Preview the example live on StackBlitz:

Open in StackBlitz

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

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

npx create-next-app --example next-forms next-forms-app
# or
yarn create next-app --example next-forms next-forms-app

Deploy it to the cloud with Vercel (Documentation).