Align Apollo stack with tastyflow/optovia
This commit is contained in:
@@ -9,11 +9,20 @@ export default defineNuxtConfig({
|
||||
plugins: [tailwindcss() as any],
|
||||
},
|
||||
|
||||
modules: ["@nuxt/eslint"],
|
||||
modules: ["@nuxt/eslint", "@nuxtjs/apollo"],
|
||||
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
graphqlHttpEndpoint: process.env.GRAPHQL_HTTP_ENDPOINT || "http://localhost:3000/api/graphql",
|
||||
},
|
||||
},
|
||||
|
||||
apollo: {
|
||||
clients: {
|
||||
default: {
|
||||
httpEndpoint: process.env.GRAPHQL_HTTP_ENDPOINT || "http://localhost:3000/api/graphql",
|
||||
connectToDevTools: process.dev,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user