docs(examples): prop "showTips" should be a boolean instead of a string (#2751)

This commit is contained in:
Bruno Perel 2022-01-17 11:05:24 +01:00 committed by GitHub
parent 33ebb01d7f
commit 2ba5f56374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ const { data, refresh, pending } = await useAsyncData('/api/hello', () => $fetch
</script>
<template>
<NuxtExampleLayout example="use-async-data" show-tips="true">
<NuxtExampleLayout example="use-async-data" show-tips>
<div>{{ data }}</div>
<div>
<NButton :disabled="pending" @click="refresh">