Update src/routes/docs/tutorials/nuxt-ssr-auth/step-6/+page.markdoc

Co-authored-by: Luke B. Silver <22452787+loks0n@users.noreply.github.com>
This commit is contained in:
Aditya Oberai
2025-06-04 17:57:56 +05:30
committed by GitHub
parent 101fc54358
commit 8be6b6d3b8

View File

@@ -7,7 +7,7 @@ step: 6
Now the end-user is able to sign up, we can create the account page. This page will display basic information about the user, and allow the user to log out.
To create the account page, we will first need to fetch the user data. We can do this by creating a new API endpoint that retrieves the user information. Create a new `user.get.js` file in the `server/routes/api` directory and add the following code:
Before creating the account page, the route should fetch the user data. Create a new `user.get.js` file in the `server/routes/api` directory and add the following code:
```js
// server/routes/api/user.get.js