feat: Initial authentication logic and UX
This commit is contained in:
@@ -5,6 +5,7 @@ export default defineNuxtConfig({
|
||||
"@lewebsimple/nuxt-graphql",
|
||||
"@nuxt/eslint",
|
||||
"@nuxt/ui",
|
||||
"nuxt-auth-utils",
|
||||
],
|
||||
|
||||
components: {
|
||||
@@ -36,10 +37,12 @@ export default defineNuxtConfig({
|
||||
},
|
||||
|
||||
graphql: {
|
||||
context: "server/graphql/context.ts",
|
||||
schemas: {
|
||||
wp: {
|
||||
type: "remote",
|
||||
url: `${process.env.NUXT_WP_URL || "https://wp-headless.ledevsimple.ca"}/graphql`,
|
||||
middleware: "server/graphql/wp-middleware.ts",
|
||||
},
|
||||
},
|
||||
saveSdl: "server/graphql/schema.graphql",
|
||||
|
||||
Reference in New Issue
Block a user