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
+6 -3
View File
@@ -1,12 +1,14 @@
<template>
<container class="app">
<div class="app">
<h1>{{ title }}</h1>
<Button text="Test Mongo" />
</container>
<MongoStatus />
</div>
</template>
<script>
import Button from './components/Button'
import MongoStatus from './components/MongoStatus'
export default {
name: 'App',
@@ -17,7 +19,8 @@ export default {
}
},
components: {
Button
Button,
MongoStatus
},
data () {
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>