# yadea-website **Repository Path**: weijianjun/yadea-website ## Basic Information - **Project Name**: yadea-website - **Description**: 使用nuxt3开发的雅迪电动车官网 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-25 - **Last Updated**: 2023-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #yadea-website css 的 pxvw 单位,会根据 postcss-px-to-viewport-8-plugin 将 pxvw 按照 1920 的比例转换为对应的 vw 客户端使用 useMyFetch || useFetch,需使用 watch 监听 data.value 服务端使用,则无需这些 function useFetch( url: string | Request | Ref | () => string | Request, options?: UseFetchOptions ): Promise> type UseFetchOptions = { key?: string method?: string query?: SearchParams params?: SearchParams body?: RequestInit['body'] | Record headers?: { key: string, value: string }[] baseURL?: string server?: boolean lazy?: boolean immediate?: boolean default?: () => DataT transform?: (input: DataT) => DataT pick?: string[] watch?: WatchSource[] } type AsyncData = { data: Ref pending: Ref refresh: (opts?: { dedupe?: boolean }) => Promise execute: () => Promise error: Ref }