aeafca2b64
* adding formspree contact-form example * tweaks to package.json
24 lines
1.1 KiB
Markdown
24 lines
1.1 KiB
Markdown
# Formspree & Next.js example
|
|
|
|
**An example of using [Formspree](https://formspree.io) with [Next.js](https://nextjs.org). For more information on how to use Formspree check out [our official integration guide](https://formspree.io/guides/nextjs/).**
|
|
|
|
## Get the code
|
|
|
|
- **[Check out the demo site here](https://formspree-example-next.vercel.app/)**
|
|
- Fork this example to your own Github repo. [**[Fork it →](https://github.com/formspree/formspree-example-next/fork)**]
|
|
|
|
Or just deploy directly to Vercel!
|
|
|
|
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-formspree&project-name=nextjs-with-formspree&repo-name=nextjs-with-formspree&demo-title=Next%20Site%20with%20Contact%20Form&demo-description=A%20Nextjs%20website%20with%20a%20simple%20contact%20form%20powered%20by%20Formspree&demo-url=https%3A%2F%2Fformspree-example-next.vercel.app%2F&integration-ids=oac_SOUPsixV2TP6CkvfaB91Jhri)
|
|
|
|
## Installation
|
|
|
|
Clone down repo, navigate to the repo directory and…
|
|
|
|
```shell
|
|
# Install dependencies
|
|
npm install
|
|
|
|
# Run next locally at localhost:3000
|
|
npm run dev
|
|
```
|