From 20778ace83cb9174a671242cfaf4bde89de00101 Mon Sep 17 00:00:00 2001 From: u014644284 Date: Thu, 19 Oct 2023 10:05:00 +0800 Subject: [PATCH] Thu Oct 19 10:05:00 CST 2023 inscode --- package.json | 1 + src/App.vue | 64 ++++++++++++++++------------------------------------ src/main.js | 9 ++++++-- 3 files changed, 27 insertions(+), 47 deletions(-) diff --git a/package.json b/package.json index aa1c7de..a25ea99 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ }, "dependencies": { "guess": "^1.0.2", + "view-ui-plus": "^1.3.14", "vue": "^3.2.37" }, "devDependencies": { diff --git a/src/App.vue b/src/App.vue index a6b8672..d8f669c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,47 +1,21 @@ - - - - + diff --git a/src/main.js b/src/main.js index ad31741..4dbea12 100644 --- a/src/main.js +++ b/src/main.js @@ -1,7 +1,12 @@ + import { createApp } from 'vue' +import ViewUIPlus from 'view-ui-plus' import App from './App.vue' -import './assets/main.css' +import 'view-ui-plus/dist/styles/viewuiplus.css' const app = createApp(App) -app.mount('#app') + +app.use(store) + .use(ViewUIPlus) + .mount('#app') \ No newline at end of file -- GitLab