Correct setup for `swr`
I have a question: Why is the setup below not working?
This works below, but then I have to still do data fetches on every visit / route. But ideally I thought
pages/index.vueserver/api/data.get.jsnuxt.config.jsThis works below, but then I have to still do data fetches on every visit / route. But ideally I thought
swr would just fetch once every 60s or whatever and keep a static page?nuxt.config.js