forked from jsnbuchanan/crowd-funder-for-time-pwa
FontAwesome added
This commit is contained in:
17
src/main.ts
17
src/main.ts
@@ -6,4 +6,21 @@ import store from "./store";
|
||||
|
||||
import "./assets/styles/tailwind.css";
|
||||
|
||||
/* 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 { faUserSecret } from "@fortawesome/free-solid-svg-icons";
|
||||
|
||||
/* add icons to the library */
|
||||
library.add(faUserSecret);
|
||||
|
||||
/* add font awesome icon component */
|
||||
App.component("font-awesome-icon", FontAwesomeIcon);
|
||||
|
||||
App.config.productionTip = false;
|
||||
|
||||
createApp(App).use(store).use(router).mount("#app");
|
||||
|
||||
Reference in New Issue
Block a user