From fb876cbc3b21035125668f2db6ee84e47efb544f Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期日, 12 五月 2024 22:42:22 +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