From 03c14a5c14f54daead0d0a49d0cc30cef4d3e7be Mon Sep 17 00:00:00 2001 From: Parinita Mulak Date: Mon, 30 Sep 2024 15:10:07 -0700 Subject: [PATCH] feat: draft preview header data fixed (#858) --- app.vue | 2 +- nuxt.config.ts | 1 + package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app.vue b/app.vue index 643e66975..00ddbe39e 100644 --- a/app.vue +++ b/app.vue @@ -3,7 +3,7 @@ import { useLayoutState } from './composables/useLayoutState' provide('theme', computed(() => '')) const { enabled, state } = usePreviewMode() -console.log('App.vue', enabled.value, state.token) +// console.log('App.vue', enabled.value, state.token) const route = useRoute() const globalStore = useGlobalStore() diff --git a/nuxt.config.ts b/nuxt.config.ts index a92214d86..31346ad32 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -38,6 +38,7 @@ export default defineNuxtConfig({ @import "ucla-library-design-tokens/scss/fonts.scss"; @import "ucla-library-design-tokens/scss/app.scss"; `, + api: 'modern-compiler', // or 'modern' }, }, } diff --git a/package.json b/package.json index 2ab31aa12..fa4f6820c 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,6 @@ "nuxt-graphql-request": "^7.0.5", "sass": "^1.66.1", "ucla-library-design-tokens": "^5.22.0", - "ucla-library-website-components": "^3.24.0" + "ucla-library-website-components": "^3.24.1" } } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c2f6900f2..398c03de4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -71,8 +71,8 @@ devDependencies: specifier: ^5.22.0 version: 5.22.0 ucla-library-website-components: - specifier: ^3.24.0 - version: 3.24.0(typescript@5.6.2)(vue@3.5.10) + specifier: ^3.24.1 + version: 3.24.1(typescript@5.6.2)(vue@3.5.10) packages: @@ -12671,8 +12671,8 @@ packages: resolution: {integrity: sha512-HudkrR/TMd5FTV1VGqOrYLg4bsDgb8kgml6rtDF3NgS9vf0hfQyVipxjbEHlfvuPHtQ7RZcn6ftdJHi92JqfSw==} dev: true - /ucla-library-website-components@3.24.0(typescript@5.6.2)(vue@3.5.10): - resolution: {integrity: sha512-GpEfGbvgj/out/8XStxj4Kz3P/VueukVqoPCaci+/cGqkM+1Y/G5eHRspRuwEZq6h83SBE7HvLb09JDf0FWISw==} + /ucla-library-website-components@3.24.1(typescript@5.6.2)(vue@3.5.10): + resolution: {integrity: sha512-OBe+VHJ28ituOrC2a5qo+cPiVSsBrH8Q8UqKS2QASmHUhFw84z3o8qwSw9yJxcyscHJj/Y3uhDll6HaiBCWhwQ==} peerDependencies: vue: ^3.4.29 dependencies: