We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 032f697 + 1bff1b0 commit 5b1e2eaCopy full SHA for 5b1e2ea
src/main.ts
@@ -1,17 +1,21 @@
1
+import '@/Libraries/fontawesome';
2
import App from './App.vue';
3
import CodeBlock from 'vue3-code-block';
4
import VDrilldownTable from './index';
5
import { createApp } from 'vue';
6
import { createPinia } from 'pinia';
7
import { makeServer } from './server';
8
import { registerPlugins } from './plugins';
9
+import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
10
11
makeServer({ environment: 'demo' });
12
13
const app = createApp(App);
14
app.use(VDrilldownTable);
15
app.use(CodeBlock);
16
app.use(createPinia());
17
+app.component('font-awesome-icon', FontAwesomeIcon);
18
+app.component('FaIcon', FontAwesomeIcon);
19
20
registerPlugins(app);
21
0 commit comments