Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit 0b219b9

Browse files
committed
build: ➖ remove @nuxtjs/google-fonts
1 parent 5324600 commit 0b219b9

File tree

3 files changed

+47
-99
lines changed

3 files changed

+47
-99
lines changed

nuxt.config.ts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ export default defineNuxtConfig({
2222
type: "image/x-icon",
2323
href: "https://avatars.githubusercontent.com/u/63280128"
2424
},
25+
{
26+
rel: "stylesheet",
27+
href: "https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900"
28+
},
2529
],
2630
},
2731
},
@@ -52,7 +56,6 @@ export default defineNuxtConfig({
5256
modules: [
5357
"@element-plus/nuxt",
5458
"@nuxt/devtools",
55-
"@nuxtjs/google-fonts",
5659
"@nuxtjs/i18n",
5760
"@nuxtjs/robots",
5861
"@pinia/nuxt",
@@ -72,15 +75,6 @@ export default defineNuxtConfig({
7275
telemetry: false,
7376

7477
// modules options
75-
googleFonts: {
76-
families: {
77-
"Noto+Sans+SC": true,
78-
Raleway: {
79-
wght: [100, 200, 300, 400, 500, 600, 700, 800, 900],
80-
},
81-
},
82-
},
83-
8478
i18n: {
8579
baseUrl: baseURL,
8680
locales: [

package-lock.json

Lines changed: 43 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"@bytemd/vue-next": "^1.21.0",
2222
"@element-plus/nuxt": "^1.0.4",
2323
"@nuxt/devtools": "^0.4.5",
24-
"@nuxtjs/google-fonts": "^3.0.0",
2524
"@nuxtjs/i18n": "^8.0.0-beta.10",
2625
"@nuxtjs/robots": "^3.0.0",
2726
"@pinia/nuxt": "^0.4.9",

0 commit comments

Comments
 (0)