mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Update docs/2.guide/4.recipes/4.sessions-and-authentication.md
Changed to relative link Co-authored-by: Sébastien Chopin <seb@nuxtlabs.com>
This commit is contained in:
parent
7664825a8a
commit
b896daf0aa
@ -32,7 +32,7 @@ NUXT_SESSION_PASSWORD=password-with-at-least-32-characters
|
||||
|
||||
### 2. Create a registration page
|
||||
|
||||
Create a new page in your Nuxt app for user registration. This page should have a form with fields for email and password. We'll intercept the form submission using `@submit.prevent` and use [`$fetch`](https://nuxt.com/docs/getting-started/data-fetching#fetch) to post the data to `/api/register`.
|
||||
Create a new page in your Nuxt app for user registration. This page should have a form with fields for email and password. We'll intercept the form submission using `@submit.prevent` and use [`$fetch`](/docs/getting-started/data-fetching#fetch) to post the data to `/api/register`.
|
||||
|
||||
```vue [pages/register.vue]
|
||||
<script setup lang="ts">
|
||||
|
Loading…
Reference in New Issue
Block a user