From 00418e1c02081fc0e65e578b6d4dae9fef431af9 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong <1040110848@qq.com> Date: Mon, 1 Nov 2021 22:10:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E5=86=99=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++ public/index.html | 14 ++----- src/App.vue | 70 ++++++++++++++++++++++++++-------- src/assets/logo.png | Bin 6849 -> 0 bytes src/components/HelloWorld.vue | 60 ----------------------------- src/main.ts | 3 ++ yarn.lock | 35 +++++++++++++++++ 7 files changed, 100 insertions(+), 85 deletions(-) delete mode 100644 src/assets/logo.png delete mode 100644 src/components/HelloWorld.vue diff --git a/package.json b/package.json index 9272b0f..9a630d1 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,13 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "bootstrap": "^5.1.3", + "bootstrap-icons": "^1.6.1", "core-js": "^3.6.5", "vue": "^3.0.0" }, "devDependencies": { + "@types/bootstrap": "^5.1.6", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "@vue/cli-plugin-babel": "~4.5.0", diff --git a/public/index.html b/public/index.html index 3e5a139..e8006de 100644 --- a/public/index.html +++ b/public/index.html @@ -1,17 +1,11 @@ - +
- - - - -Rz$KlnO_H2c< z(XX#lPuW_%H#Q+c&(nRyX1-Ia dKR-%$4FYC0fsCmL9ky3 zKpxyjd^JFR+vg2!=HWf}2Z?@Td`0EG`kU?{8zKrvtsm)|7>pPk9nu@2^z96aU2<#` z2QhvH5w&V;wER?mopu+nqu*n8p~(%Q kwSs&*0eJwa zMXR05`OSFpfyRb! Y_+H@O%Y z0=K^y6B8Gcbl?SA)qMP3Z+=C(?8zL@=74R=EVnE?vY!1BQy2@q*RUgRx4yJ$k}MnL zs!?74QciNb-LcG*&o<9=DSL>1n}ZNd)w1z3-0Pd^4ED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a&Vr<6waJrUzdLg!ieYz%U^bmpn%;(V%%ugMk92&?_XX1K@mwnVSE6!&%P%Wdi7_h`CpScvspMx?N zQUR>oadnG17#hNc$pkTp+9 lW+MBKHRZ~7 4XWUryd)4yd zj98$%XmIL4(9OnoeO5Fnyn&fpQ9b0h4e6EHHw*l68j;>(ya`g^S&y2{O8U>1*>4zR zq*WSI_2o$CHQ?x0!wl9bpx|Cm2+kFMR)oMud1%n2=qn5nE&t@Fgr#=Zv2?}wtEz^T z9rrj=?I H*qI5{G@Rn&}^Z{+TW}mQe b9=8b<_a`&Cm#n%n~ zU47MvCBsdXFB1+adOO)03+nczfWa#vwk #r{o{dF)QWya9v2nv43Zp3%Ps}($lA02*_g25t;|T{A5snSY?3A zrRQ~(Ygh_ebltHo1VC bJb*eOAr;4cnlXLvI>*$-#AVsGg6B1r7@;g^L zFlJ_th0vxO7;-opU@WAFe;<}?!2q?RBrFK5U{ *ai@NLKZ^};Ul}beukveh?TQn;$%9=R+DX07m82gP$=}Uo_%&ngV`}Hyv8g{u z3SWzTGV|cwQuFIs7ZDOqO_fGf8Q`8MwL}eUp>q?4eqCmOTcwQuXtQckPy|4F1on8l zP*h>d+cH#XQf|+6c|S{7SF(Lg>bR~l(0uY?O{OEVlaxa5@e%T&xju=o1`=OD#qc16 zSvyH*my(dcp6~VqR;o(#@m44Lug@~_qw+HA=mS#Z^ 4reBy8iV?H~I;{LQWk3aKK8$bLRyt$g?- - -- - - - - - diff --git a/src/main.ts b/src/main.ts index 684d042..01b9244 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,7 @@ import { createApp } from 'vue'; +import 'bootstrap/dist/css/bootstrap.min.css'; +import 'bootstrap-icons/font/bootstrap-icons.css'; +import 'bootstrap'; import App from './App.vue'; createApp(App).mount('#app'); diff --git a/yarn.lock b/yarn.lock index cd2f05b..77d28b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -986,6 +986,11 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@popperjs/core@^2.9.2": + version "2.10.2" + resolved "https://registry.npmmirror.com/@popperjs/core/download/@popperjs/core-2.10.2.tgz?cache=0&sync_timestamp=1633001441229&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40popperjs%2Fcore%2Fdownload%2F%40popperjs%2Fcore-2.10.2.tgz#0798c03351f0dea1a5a4cabddf26a55a7cbee590" + integrity sha1-B5jAM1Hw3qGlpMq93yalWny+5ZA= + "@soda/friendly-errors-webpack-plugin@^1.7.1": version "1.8.0" resolved "https://registry.npm.taobao.org/@soda/friendly-errors-webpack-plugin/download/@soda/friendly-errors-webpack-plugin-1.8.0.tgz#84751d82a93019d5c92c0cf0e45ac59087cd2240" @@ -1009,6 +1014,14 @@ "@types/connect" "*" "@types/node" "*" +"@types/bootstrap@^5.1.6": + version "5.1.6" + resolved "https://registry.nlark.com/@types/bootstrap/download/@types/bootstrap-5.1.6.tgz#669a0cd7fb37bca12424e0d68f1f4704cfcdb780" + integrity sha1-ZpoM1/s3vKEkJODWjx9HBM/Nt4A= + dependencies: + "@popperjs/core" "^2.9.2" + "@types/jquery" "*" + "@types/connect-history-api-fallback@*": version "1.3.5" resolved "https://registry.nlark.com/@types/connect-history-api-fallback/download/@types/connect-history-api-fallback-1.3.5.tgz?cache=0&sync_timestamp=1629707001404&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fconnect-history-api-fallback%2Fdownload%2F%40types%2Fconnect-history-api-fallback-1.3.5.tgz#d1f7a8a09d0ed5a57aee5ae9c18ab9b803205dae" @@ -1058,6 +1071,13 @@ dependencies: "@types/node" "*" +"@types/jquery@*": + version "3.5.8" + resolved "https://registry.npmmirror.com/@types/jquery/download/@types/jquery-3.5.8.tgz#83bfbcdf4e625c5471590f92703c06aadb052a09" + integrity sha1-g7+8305iXFRxWQ+ScDwGqtsFKgk= + dependencies: + "@types/sizzle" "*" + "@types/json-schema@^7.0.4", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.7": version "7.0.9" resolved "https://registry.nlark.com/@types/json-schema/download/@types/json-schema-7.0.9.tgz?cache=0&sync_timestamp=1629708189890&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fjson-schema%2Fdownload%2F%40types%2Fjson-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d" @@ -1121,6 +1141,11 @@ "@types/mime" "^1" "@types/node" "*" +"@types/sizzle@*": + version "2.3.3" + resolved "https://registry.nlark.com/@types/sizzle/download/@types/sizzle-2.3.3.tgz#ff5e2f1902969d305225a047c8a0fd5c915cebef" + integrity sha1-/14vGQKWnTBSJaBHyKD9XJFc6+8= + "@types/source-list-map@*": version "0.1.2" resolved "https://registry.nlark.com/@types/source-list-map/download/@types/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" @@ -2285,6 +2310,16 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.nlark.com/boolbase/download/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= +bootstrap-icons@^1.6.1: + version "1.6.1" + resolved "https://registry.npmmirror.com/bootstrap-icons/download/bootstrap-icons-1.6.1.tgz#66c87beff34840efa5f248b3091c82d9348864e8" + integrity sha1-Zsh77/NIQO+l8kizCRyC2TSIZOg= + +bootstrap@^5.1.3: + version "5.1.3" + resolved "https://registry.npmmirror.com/bootstrap/download/bootstrap-5.1.3.tgz?cache=0&sync_timestamp=1635517548345&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fbootstrap%2Fdownload%2Fbootstrap-5.1.3.tgz#ba081b0c130f810fa70900acbc1c6d3c28fa8f34" + integrity sha1-uggbDBMPgQ+nCQCsvBxtPCj6jzQ= + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.nlark.com/brace-expansion/download/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"{{ msg }}
-- For a guide and recipes on how to configure / customize this project,
-
- check out the - vue-cli documentation. -Installed CLI Plugins
--
-- babel
-- typescript
-- eslint
-Essential Links
--
-- Core Docs
-- Forum
-- Community Chat
-- News
-Ecosystem
--
-- vue-router
-- vuex
-- vue-devtools
-- vue-loader
-- awesome-vue
-