From c9887814fe1e98d5512c8ac68ae6dbaebf2aee1b Mon Sep 17 00:00:00 2001 From: root Date: Fri, 18 Feb 2022 11:02:27 +0530 Subject: [PATCH] Convert from using iconfonts to SVG --- babel.config.js | 6 +++--- package.json | 2 +- src/App.vue | 8 ++++++-- src/components/VideoComment.vue | 19 +++++++++++++------ src/main.js | 1 - src/plugins/vuetify.js | 3 +++ src/routes/Channel.vue | 7 +++++-- src/routes/FeedPage.vue | 8 ++++++-- src/routes/Playlist.vue | 14 +++++++++----- src/routes/WatchVideo.vue | 11 ++++++++--- yarn.lock | 6 +++--- 11 files changed, 57 insertions(+), 28 deletions(-) diff --git a/babel.config.js b/babel.config.js index e955840..414e4ac 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,5 @@ module.exports = { - presets: [ - '@vue/cli-plugin-babel/preset' - ] + presets: [ + '@vue/cli-plugin-babel/preset' + ] } diff --git a/package.json b/package.json index c1cc698..6a0d18c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@fontsource/noto-sans-sc": "^4.5.3", "@fontsource/noto-sans-tc": "^4.5.3", "@fontsource/nunito-sans": "^4.5.2", - "@mdi/font": "^6.5.95", + "@mdi/js": "^6.5.95", "axios": "^0.25.0", "core-js": "^3.21.0", "dexie": "^3.2.0", diff --git a/src/App.vue b/src/App.vue index 96f1c69..36c4609 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,7 +18,7 @@ - mdi-brightness-6 + {{ mdiBrightness6 }}