try get fontawesome working

This commit is contained in:
2021-07-05 22:48:28 +01:00
parent e5898f7325
commit 3ae8a3396a
5 changed files with 17968 additions and 768 deletions
+17952 -758
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -10,14 +10,15 @@
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/vue-fontawesome": "^2.0.2",
"core-js": "^3.6.5",
"vue": "^3.0.0",
"vue-awesome": "^4.3.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/cli-plugin-eslint": "^3.1.1",
"@vue/cli-service": "^3.12.1",
"@vue/compiler-sfc": "^3.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
+9 -5
View File
@@ -1,18 +1,22 @@
<template>
<div class="mongo-status">
<p>MongoDB Connection: <v-icon icon="times-circle" /></p>
<p>MongoDB Connection:<v-icon name="sync" scale="2" spin/></p>
</div>
</template>
<script>
import Vue from 'vue'
import 'vue-awesome/icons'
import Icon from 'vue-awesome/components/Icon'
// globally (in your main .js file)
Vue.component('v-icon', Icon)
export default {
components: {
'v-icon': Icon
}
// components: {
// 'v-icon': Icon
// }
}
</script>
<style scoped>