From fbbd3e52cd76d953df12c34e2e237bd1be93777d Mon Sep 17 00:00:00 2001 From: skyun Date: Thu, 19 Oct 2023 08:43:00 +0800 Subject: [PATCH] Thu Oct 19 08:43:00 CST 2023 inscode --- .inscode | 4 ++++ package.json | 1 + src/App.vue | 13 ++--------- src/main.js | 7 ++++-- src/views/lesson-1.vue | 49 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 61 insertions(+), 13 deletions(-) create mode 100644 src/views/lesson-1.vue diff --git a/.inscode b/.inscode index 70c7853..9fec957 100644 --- a/.inscode +++ b/.inscode @@ -1,4 +1,5 @@ run = "npm i && npm run dev" +language = "node" [deployment] build = "npm i && npm run build" @@ -8,3 +9,6 @@ run = "npm run preview" PATH = "/root/${PROJECT_DIR}/.config/npm/node_global/bin:/root/${PROJECT_DIR}/node_modules/.bin:${PATH}" XDG_CONFIG_HOME = "/root/.config" npm_config_prefix = "/root/${PROJECT_DIR}/.config/npm/node_global" + +[debugger] +program = "main.js" 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 633a5df..058d43a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,19 +1,10 @@ diff --git a/src/main.js b/src/main.js index 90e6400..492900d 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,9 @@ import { createApp } from 'vue' import App from './App.vue' - +import ViewUIPlus from 'view-ui-plus' +import 'view-ui-plus/dist/styles/viewuiplus.css' import './assets/main.css' -createApp(App).mount('#app') +createApp(App) + .use(ViewUIPlus) + .mount('#app') diff --git a/src/views/lesson-1.vue b/src/views/lesson-1.vue new file mode 100644 index 0000000..2f4a9a6 --- /dev/null +++ b/src/views/lesson-1.vue @@ -0,0 +1,49 @@ + + + + + -- GitLab