Skip to content

Commit 0c9b0d7

Browse files
Adding fa
1 parent d2ef6ee commit 0c9b0d7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1+
import '@/Libraries/fontawesome';
12
import App from './App.vue';
23
import CodeBlock from 'vue3-code-block';
34
import { createApp } from 'vue';
45
import { createPinia } from 'pinia';
56
import { registerPlugins } from './plugins';
7+
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
68

79
const app = createApp(App);
810
app.use(CodeBlock);
911
app.use(createPinia());
12+
app.component('font-awesome-icon', FontAwesomeIcon);
13+
app.component('FaIcon', FontAwesomeIcon);
1014

1115
registerPlugins(app);
1216

0 commit comments

Comments
 (0)