From 99e3ad1abe1af1cd7f05f17c5e2fea872724c7a7 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 24 Aug 2022 16:09:14 +0800 Subject: [PATCH] chore(gui-v2): lint --- .../nc-gui-v2/components/general/Share.vue | 18 ++++++++++++++-- .../nc-gui-v2/components/webhook/Editor.vue | 21 ++++++++++++++++--- packages/nc-gui-v2/nuxt.config.ts | 3 --- 3 files changed, 34 insertions(+), 8 deletions(-) diff --git a/packages/nc-gui-v2/components/general/Share.vue b/packages/nc-gui-v2/components/general/Share.vue index 28a8179f90..7024daadd1 100644 --- a/packages/nc-gui-v2/components/general/Share.vue +++ b/packages/nc-gui-v2/components/general/Share.vue @@ -108,7 +108,14 @@ const openUrl = (url: string) => { class="px-2" @click.prevent="openUrl(`https://www.reddit.com/submit?url=${shareUrl}&title=${encodedSummary}`)" > - Reddit + Reddit { openUrl(`https://vk.com/share.php?url=${shareUrl})&title=${encodedTitle}&description=${encodedSummary}&noparse=true`) " > - VK + VK { - + - + {{ event.text.join(' ') }} @@ -471,7 +481,12 @@ onMounted(async () => { - + diff --git a/packages/nc-gui-v2/nuxt.config.ts b/packages/nc-gui-v2/nuxt.config.ts index b5f0289488..4dd3bb9c88 100644 --- a/packages/nc-gui-v2/nuxt.config.ts +++ b/packages/nc-gui-v2/nuxt.config.ts @@ -11,7 +11,6 @@ import monacoEditorPlugin from 'vite-plugin-monaco-editor' export default defineNuxtConfig({ modules: ['@vueuse/nuxt', 'nuxt-windicss', '@nuxt/image-edge'], - ssr: false, app: { baseURL: '/dashboard/', @@ -50,11 +49,9 @@ export default defineNuxtConfig({ vite: { // todo: minifiy again build: { - minify: false, rollupOptions: { external: 'httpsnippet', - }, }, plugins: [