trying ot add vue-awesome font-awesome icons.. not working yet

This commit is contained in:
2021-07-05 00:16:10 +01:00
parent 08e61fa632
commit e5898f7325
4 changed files with 150 additions and 16605 deletions
+117 -16601
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -8,8 +8,11 @@
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"core-js": "^3.6.5", "core-js": "^3.6.5",
"vue": "^3.0.0" "vue": "^3.0.0",
"vue-awesome": "^4.3.1"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-babel": "~4.5.0",
+6 -3
View File
@@ -1,12 +1,14 @@
<template> <template>
<container class="app"> <div class="app">
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<Button text="Test Mongo" /> <Button text="Test Mongo" />
</container> <MongoStatus />
</div>
</template> </template>
<script> <script>
import Button from './components/Button' import Button from './components/Button'
import MongoStatus from './components/MongoStatus'
export default { export default {
name: 'App', name: 'App',
@@ -17,7 +19,8 @@ export default {
} }
}, },
components: { components: {
Button Button,
MongoStatus
}, },
data () { data () {
return { return {
@@ -0,0 +1,23 @@
<template>
<div class="mongo-status">
<p>MongoDB Connection: <v-icon icon="times-circle" /></p>
</div>
</template>
<script>
import Icon from 'vue-awesome/components/Icon'
export default {
components: {
'v-icon': Icon
}
}
</script>
<style scoped>
div.mongo-status{
border: 1px solid #aaa;
background-color: #ccc;
}
</style>