import axios from 'axios'. const fetcher = url => axios.get(url).then(res => res.data). function App () {. const { data, error } = useSWR('/api/data', ...
確定! 回上一頁