press icon indicating copy to clipboard operation
press copied to clipboard

not using nuxt/http

Open pimlie opened this issue 5 years ago • 3 comments

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 avatar Jun 25 '19 11:06 pimlie

@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.

galvez avatar Jun 25 '19 11:06 galvez

I'm actually debugging generate now, it seems to have broken a little after the blueprints PR.

galvez avatar Jun 25 '19 11:06 galvez

@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.

pimlie avatar Aug 16 '19 07:08 pimlie