12 lines
256 B
TypeScript
12 lines
256 B
TypeScript
import { defineNuxtConfig } from 'nuxt/config';
|
|
|
|
export default defineNuxtConfig({
|
|
modules: ['nuxt-graphql-client'],
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
GQL_HOST: 'http://localhost:1337/graphql' // overwritten by process.env.GQL_HOST
|
|
},
|
|
},
|
|
});
|