diff --git a/.inscode b/.inscode index 70c7853df0c162981ebd7cf119d909c807920531..9fec9576d482baaf90d2f47230ce9133cfce99d4 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 aa1c7deb0adb6e6aea5a1380426189ac24eee7a7..55f74aa2d605d72834ca9c4684d64d33de142f9c 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "preview": "vite preview --port 4173" }, "dependencies": { + "element-plus": "^2.3.9", "guess": "^1.0.2", "vue": "^3.2.37" }, diff --git a/src/main.js b/src/main.js index 90e6400b4d8ad8aba0c1caa53874eb4b81380648..58c67d7ce5c877bde263b7c1210448fff44e38b3 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,7 @@ import { createApp } from 'vue' import App from './App.vue' - +import 'element-plus/theme-chalk/index.css' import './assets/main.css' - -createApp(App).mount('#app') +import ElementPlus from 'element-plus' +import "@element-plus/icons-vue" +createApp(App).use(ElementPlus).mount('#app')