mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 21:58:19 +00:00
clarified warning
This commit is contained in:
parent
056bc94743
commit
51450631cd
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user