From ab50d5ef2030d7a2c3c735e873c0456918b2785e Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 28 Nov 2020 12:15:22 +0900 Subject: [PATCH] wip --- package.json | 7 +-- src/client/@types/vue.d.ts | 5 +- src/client/components/ui/modal.vue | 4 +- src/client/ui/_common_/header.vue | 16 +++--- yarn.lock | 90 ++++++++++-------------------- 5 files changed, 45 insertions(+), 77 deletions(-) diff --git a/package.json b/package.json index 0b8a1e59bd..a363615987 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "@types/websocket": "1.0.1", "@types/ws": "7.2.7", "@typescript-eslint/parser": "4.6.1", - "@vue/compiler-sfc": "3.0.2", + "@vue/compiler-sfc": "3.0.3", "abort-controller": "3.0.0", "apexcharts": "3.22.1", "autobind-decorator": "2.4.0", @@ -244,15 +244,14 @@ "vue-draggable-next": "1.0.8", "vue-i18n": "9.0.0-beta.7", "vue-json-pretty": "1.7.1", - "vue-loader": "16.0.0-beta.8", + "vue-loader": "16.0.0", "vue-prism-editor": "1.2.2", "vue-router": "4.0.0-rc.2", "vue-style-loader": "4.1.2", - "vue-template-compiler": "2.6.12", "vuex": "4.0.0-rc.1", "vuex-persistedstate": "3.1.0", "web-push": "3.4.4", - "webpack": "5.6.0", + "webpack": "5.8.0", "webpack-cli": "4.2.0", "websocket": "1.0.32", "ws": "7.3.1", diff --git a/src/client/@types/vue.d.ts b/src/client/@types/vue.d.ts index b3a21c6cdb..798e8fcfac 100644 --- a/src/client/@types/vue.d.ts +++ b/src/client/@types/vue.d.ts @@ -1,4 +1,5 @@ declare module '*.vue' { - import Vue from 'vue'; - export default Vue; + import { defineComponent } from 'vue'; + const component: ReturnType; + export default component; } diff --git a/src/client/components/ui/modal.vue b/src/client/components/ui/modal.vue index a4646cf947..ad3beee73f 100644 --- a/src/client/components/ui/modal.vue +++ b/src/client/components/ui/modal.vue @@ -150,10 +150,10 @@ export default defineComponent({ }); - diff --git a/src/client/ui/_common_/header.vue b/src/client/ui/_common_/header.vue index 87a5621902..c58f2841ff 100644 --- a/src/client/ui/_common_/header.vue +++ b/src/client/ui/_common_/header.vue @@ -74,29 +74,29 @@ export default defineComponent({ }); -