From 2f3a48cb12ad8f47e948bcd11290f9179b79163a Mon Sep 17 00:00:00 2001 From: satori Date: Sun, 30 Jan 2022 18:17:15 +0800 Subject: [PATCH] font icon --- nuxt.config.js | 3 ++- package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index 5d1e4ec..c7c5087 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -17,5 +17,6 @@ export default { changeOrigin: true } }] - ] + ], + css: ['@fortawesome/fontawesome-free/css/all.css'] } \ No newline at end of file diff --git a/package.json b/package.json index 58f92e2..08fe55d 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "nuxt": "2.15.8", "@nuxtjs/axios": "^5.12.0", "@nuxtjs/proxy": "^2.1.0", + "@fortawesome/fontawesome-free": "^5.15.3", "three": "^0.137.4" } } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index f69fff6..8a73e8a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -928,6 +928,11 @@ resolved "https://registry.yarnpkg.com/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7" integrity sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw== +"@fortawesome/fontawesome-free@^5.15.3": + version "5.15.4" + resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.4.tgz#ecda5712b61ac852c760d8b3c79c96adca5554e5" + integrity sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg== + "@gar/promisify@^1.0.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.2.tgz#30aa825f11d438671d585bd44e7fd564535fc210"