You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/docs/tutorials/nuxt/step-7/+page.markdoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ From the `components` directory, add the file `ÌdeasForm.vue` and add the follo
88
88
89
89
Next, add the component to the page `pages/index.vue` by auto-importing it in the `<template>`tag.
90
90
In doing that, we need to take a moment to think of how we want to display the form to our.
91
-
Since it should only be shown to a logged in user, we need to wrap it in a `<section>`that renders conditionally when the `isLoggedIn` reference in the `useUserSession` is true.
91
+
Since it should only be shown to logged in user, we need to wrap it in a `<section>`that renders conditionally when the `isLoggedIn` reference in the `useUserSession` is true.
92
92
If the requirement is not met, we show a paragraph with some information to the user instead.
93
93
94
94
Add the following code to the `index.vue`page to conditionally render the form and information paragraph.
0 commit comments