clarified warning

This commit is contained in:
David Nahodyl 2024-05-20 20:16:04 -04:00
parent 056bc94743
commit 51450631cd
No known key found for this signature in database

View File

@ -298,7 +298,9 @@ Now that we have the front-end middleware to protect front-end routes, we can us
We'll use [`definePageMeta`](https://nuxt.com/docs/api/utils/define-page-meta) to apply the middleware to the route that we want to protect.
> :warning: Remember that your data aren't really secure without back-end protection! Always secure your data on the back-end first before worrying about the front-end.
::important
:warning: Remember that your data aren't really secure without back-end protection! Always secure your data on the back-end first before worrying about the front-end.
::
```vue [pages/users/index.vue]
<script setup lang="ts">