const appConfig = useAppConfig() console.log(appConfig)
onPrehydrate
使用 onPrehydrate 在 Nuxt hydration(水合)页面之前立即在客户端运行回调函数。
useAsyncData
useAsyncData 提供了一种在 SSR 友好的可组合函数中访问异步解析数据的功能。
On this page
Community
一站式AI分享平台