-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50e55b8
commit 17eb2a2
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
import Vue from 'vue'; | ||
|
||
import fontawesomeConfig from '@/shared/config/fontawesome-config'; | ||
|
||
import App from './app.vue'; | ||
import router from './app-routes'; | ||
|
||
fontawesomeConfig.init(); | ||
|
||
Vue.config.productionTip = false; | ||
|
||
new Vue({ | ||
router, | ||
render: (h) => h(App), | ||
router, | ||
render: (h) => h(App), | ||
}).$mount('#app'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import Vue from 'vue'; | ||
import { library } from '@fortawesome/fontawesome-svg-core'; | ||
import { | ||
faLock, | ||
faUser, | ||
} from '@fortawesome/free-solid-svg-icons'; | ||
import { | ||
faGithub, | ||
faGitlab, | ||
} from '@fortawesome/free-brands-svg-icons'; | ||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; | ||
|
||
export default { | ||
init: () => { | ||
library.add( | ||
faUser, | ||
faLock, | ||
faGithub, | ||
faGitlab, | ||
); | ||
Vue.component('font-awesome-icon', FontAwesomeIcon); | ||
}, | ||
}; |