From 0819d153a363bd979a113720397026054672f275 Mon Sep 17 00:00:00 2001 From: gsd Date: Wed, 11 Oct 2023 17:06:25 +0300 Subject: [PATCH] vue warn fix --- src/App.vue | 4 +- .../TabsMenuElements/RulesView/RulesView.vue | 4 +- .../{ => Components}/ServerCard.vue | 14 +++++- .../ServersView/Components/ServerFullInfo.vue | 43 +++++++++++++++++++ .../ServersView/ServersView.vue | 10 ++--- 5 files changed, 66 insertions(+), 9 deletions(-) rename src/components/TabsMenuElements/ServersView/{ => Components}/ServerCard.vue (75%) create mode 100644 src/components/TabsMenuElements/ServersView/Components/ServerFullInfo.vue diff --git a/src/App.vue b/src/App.vue index 581b43b..c27172f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,10 +12,12 @@ import 'vue-material/dist/vue-material.min.css' import MdTabs from "vue-material/dist/components/MdTabs"; import MdIcon from "vue-material/dist/components/MdIcon"; import MdCard from "vue-material/dist/components/MdCard"; +import MdDialog from "vue-material/dist/components/MdDialog"; Vue.use(MdTabs); Vue.use(MdIcon); -Vue.use(MdCard) +Vue.use(MdCard); +Vue.use(MdDialog); import TabsMenu from "@/components/TabsMenu.vue"; export default { diff --git a/src/components/TabsMenuElements/RulesView/RulesView.vue b/src/components/TabsMenuElements/RulesView/RulesView.vue index ae00b8e..31bcac1 100644 --- a/src/components/TabsMenuElements/RulesView/RulesView.vue +++ b/src/components/TabsMenuElements/RulesView/RulesView.vue @@ -17,10 +17,10 @@
- +
- +
diff --git a/src/components/TabsMenuElements/ServersView/ServerCard.vue b/src/components/TabsMenuElements/ServersView/Components/ServerCard.vue similarity index 75% rename from src/components/TabsMenuElements/ServersView/ServerCard.vue rename to src/components/TabsMenuElements/ServersView/Components/ServerCard.vue index 691bdef..3d6f19f 100644 --- a/src/components/TabsMenuElements/ServersView/ServerCard.vue +++ b/src/components/TabsMenuElements/ServersView/Components/ServerCard.vue @@ -1,6 +1,6 @@ diff --git a/src/components/TabsMenuElements/ServersView/Components/ServerFullInfo.vue b/src/components/TabsMenuElements/ServersView/Components/ServerFullInfo.vue new file mode 100644 index 0000000..e646554 --- /dev/null +++ b/src/components/TabsMenuElements/ServersView/Components/ServerFullInfo.vue @@ -0,0 +1,43 @@ + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/ServersView/ServersView.vue b/src/components/TabsMenuElements/ServersView/ServersView.vue index 64612f4..637c125 100644 --- a/src/components/TabsMenuElements/ServersView/ServersView.vue +++ b/src/components/TabsMenuElements/ServersView/ServersView.vue @@ -13,11 +13,11 @@

Для подключения к серверу нажми на него


где сейчас играют карлики
- +
где сейчас никого нет
- +
где сейчас играют карлики
- +
@@ -26,12 +26,12 @@