press
press copied to clipboard
not using nuxt/http
blueprints/common/plugin.js uses fetch directly and not through nuxt/http.
Not sure if this is on purpose or not, but nuxt/http already has a $get method which returns as json
@pimlie I tried using @nuxt/http
only but it seems not available in generate-built plugins. It was a weird issue indeed. So now it's using @nuxt/http
for SSR/SPA and static JSON fetch()
otherwise.
I'm actually debugging generate now, it seems to have broken a little after the blueprints PR.
@galvez What was the status of this again? Where we going to remove using nuxt/http altogether? If so, how do we know with http client to use on the server.