From c9a3fc69b0ebf3f42ac3121dd87f50e704dea5e6 Mon Sep 17 00:00:00 2001 From: mertmit Date: Tue, 20 Feb 2024 09:35:44 +0000 Subject: [PATCH 1/9] chore: use @nuxt/image --- .npmrc | 2 +- packages/nc-gui/nuxt.config.ts | 2 +- packages/nc-gui/tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.npmrc b/.npmrc index 9f8104c58e..d12c4ae4a5 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,3 @@ engine-strict=true shamefully-hoist=true -use-node-version=18.19.0 \ No newline at end of file +use-node-version=18.19.0 diff --git a/packages/nc-gui/nuxt.config.ts b/packages/nc-gui/nuxt.config.ts index 3ec247f72a..4d056a4937 100644 --- a/packages/nc-gui/nuxt.config.ts +++ b/packages/nc-gui/nuxt.config.ts @@ -11,7 +11,7 @@ import PurgeIcons from 'vite-plugin-purge-icons' // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ - modules: ['@vueuse/nuxt', 'nuxt-windicss', '@nuxt/image-edge', '@pinia/nuxt'], + modules: ['@vueuse/nuxt', 'nuxt-windicss', '@nuxt/image', '@pinia/nuxt'], ssr: false, router: { diff --git a/packages/nc-gui/tsconfig.json b/packages/nc-gui/tsconfig.json index bab38b870a..76baf5cb0d 100644 --- a/packages/nc-gui/tsconfig.json +++ b/packages/nc-gui/tsconfig.json @@ -16,7 +16,7 @@ "unplugin-icons/types/vue", "nuxt-windicss", "vite/client", - "@nuxt/image-edge" + "@nuxt/image" ] }, "exclude": ["node_modules", "dist", ".output"] From 1e9e0d5aabdfa0d0cd0ae170877ee192321c338e Mon Sep 17 00:00:00 2001 From: mertmit Date: Tue, 20 Feb 2024 09:35:44 +0000 Subject: [PATCH 2/9] fix: wrong defineProps --- packages/nc-gui/components/general/NocoIcon.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/general/NocoIcon.vue b/packages/nc-gui/components/general/NocoIcon.vue index 4cf83b214a..e373727edb 100644 --- a/packages/nc-gui/components/general/NocoIcon.vue +++ b/packages/nc-gui/components/general/NocoIcon.vue @@ -1,12 +1,20 @@