nuxtjs-drupal-ce
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -7,7 +7,7 @@ { | ||
}, | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"builder": { | ||
"@nuxt/module-builder": "0.8.3", | ||
"@nuxt/module-builder": "0.8.4", | ||
"unbuild": "2.0.0" | ||
} | ||
} |
@@ -77,3 +77,3 @@ import { defu } from "defu"; | ||
useFetchOptions.key = `page-${path}`; | ||
const page = ref(null); | ||
let page = null; | ||
const pageError = ref(null); | ||
@@ -85,3 +85,3 @@ if (import.meta.server) { | ||
if (serverResponse.value._data) { | ||
page.value = serverResponse.value._data; | ||
page = ref(serverResponse.value._data); | ||
passThroughHeaders(nuxtApp, serverResponse.value.headers); | ||
@@ -96,3 +96,3 @@ } else if (serverResponse.value.error) { | ||
const { data, error } = await useCeApi(path, useFetchOptions, true); | ||
page.value = data.value; | ||
page = data; | ||
pageError.value = error.value; | ||
@@ -99,0 +99,0 @@ } |
{ | ||
"name": "nuxtjs-drupal-ce", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"license": "MIT", | ||
@@ -33,16 +33,16 @@ "bin": { | ||
"dependencies": { | ||
"@nuxt/kit": "^3.13.1", | ||
"@nuxt/kit": "^3.13.2", | ||
"defu": "^6.1.4" | ||
}, | ||
"devDependencies": { | ||
"@nuxt/eslint-config": "^0.5.6", | ||
"@nuxt/module-builder": "^0.8.3", | ||
"@nuxt/schema": "^3.13.1", | ||
"@nuxt/test-utils": "^3.14.1", | ||
"@nuxtjs/i18n": "^8.5.2", | ||
"eslint": "^9.9.1", | ||
"nuxt": "^3.13.1", | ||
"typescript": "^5.5.4", | ||
"@nuxt/eslint-config": "^0.6.1", | ||
"@nuxt/module-builder": "^0.8.4", | ||
"@nuxt/schema": "^3.13.2", | ||
"@nuxt/test-utils": "^3.14.4", | ||
"@nuxtjs/i18n": "^8.5.6", | ||
"eslint": "^9.14.0", | ||
"nuxt": "^3.13.2", | ||
"typescript": "^5.6.3", | ||
"vitest": "^1.6.0" | ||
} | ||
} |
43334
Updated@nuxt/kit@^3.13.2