From aef7a66e9568004d3e8bb9930db5866d82ed96c6 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 29 四月 2024 22:32:46 +0800
Subject: [PATCH] 新增绘制3d走航图功能

---
 src/main.js |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index f53ca8e..d6c2bf4 100644
--- a/src/main.js
+++ b/src/main.js
@@ -7,6 +7,19 @@
 import App from './App.vue';
 import router from './router';
 
+/* 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 { all } from '@awesome.me/kit-KIT_CODE/icons';
+import { fas } from '@fortawesome/free-solid-svg-icons';
+// import { faTwitter, faFontAwesome } from '@fortawesome/free-brands-svg-icons'
+// import { faTwitter, faFontAwesome } from '@fortawesome/free-regular-svg-icons'
+
+/* add icons to the library */
+library.add(fas);
+
 const app = createApp(App);
 
 // elementUI Icon 娉ㄥ唽
@@ -14,6 +27,7 @@
   app.component(key, component);
 }
 
+app.component('font-awesome-icon', FontAwesomeIcon);
 app.use(createPinia());
 app.use(router);
 

--
Gitblit v1.9.3