Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

not using nuxt/http #10

Open
pimlie opened this issue Jun 25, 2019 · 3 comments
Open

not using nuxt/http #10

pimlie opened this issue Jun 25, 2019 · 3 comments

Comments

@pimlie
Copy link
Collaborator

pimlie commented Jun 25, 2019

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

@galvez
Copy link
Contributor

galvez commented Jun 25, 2019

@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
Copy link
Contributor

galvez commented Jun 25, 2019

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

@pimlie
Copy link
Collaborator Author

pimlie commented Aug 16, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants