From e94ea7f723e616a0566ac5c7f9d77435333d9e92 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期六, 11 五月 2024 17:38:20 +0800
Subject: [PATCH] 实时走航
---
src/main.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index f53ca8e..06f7e7e 100644
--- a/src/main.js
+++ b/src/main.js
@@ -7,6 +7,18 @@
import App from './App.vue';
import router from './router';
+import './utils/expand/expand';
+
+/* import the fontawesome core */
+import { library } from '@fortawesome/fontawesome-svg-core';
+/* import font awesome icon component */
+import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
+/* import specific icons */
+import { fas } from '@fortawesome/free-solid-svg-icons';
+
+/* add icons to the library */
+library.add(fas);
+
const app = createApp(App);
// elementUI Icon 娉ㄥ唽
@@ -14,6 +26,7 @@
app.component(key, component);
}
+app.component('font-awesome-icon', FontAwesomeIcon);
app.use(createPinia());
app.use(router);
--
Gitblit v1.9.3