try get fontawesome working
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user