From 6b75490d7cf567815c930641359b4e5499943270 Mon Sep 17 00:00:00 2001 From: saltbo Date: Thu, 13 Jan 2022 22:52:38 +0800 Subject: [PATCH 1/5] feat: support responsive for the left menu #22 --- package.json | 1 + src/components/Topbar/index.vue | 72 +++++++++++++++++++++++++++------ src/main.js | 1 + src/plugins/buefy.js | 5 +++ src/views/home/index.vue | 46 +++++++++++++++++---- yarn.lock | 12 ++++++ 6 files changed, 118 insertions(+), 19 deletions(-) create mode 100644 src/plugins/buefy.js diff --git a/package.json b/package.json index f96b345..6c3da89 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "@vue/cli-plugin-eslint": "^3.12.0", "@vue/cli-service": "^3.12.0", "axios": "^0.21.1", + "buefy": "^0.9.14", "clipboard": "^2.0.8", "el-table-infinite-scroll": "^1.0.10", "element-ui": "^2.15.5", diff --git a/src/components/Topbar/index.vue b/src/components/Topbar/index.vue index 1aa9946..6a95545 100644 --- a/src/components/Topbar/index.vue +++ b/src/components/Topbar/index.vue @@ -1,20 +1,41 @@