Skip to content

Commit 73991b4

Browse files
committed
Create about component
1 parent a30198a commit 73991b4

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/components/About.vue

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<template>
2+
<div class="hello">
3+
<h1>{{ msg }}</h1>
4+
<i data-feather="home"></i>
5+
</div>
6+
</template>
7+
8+
<script>
9+
import feather from 'feather-icons'
10+
11+
export default {
12+
name: 'Home',
13+
props: {
14+
msg: String
15+
},
16+
mounted() {
17+
feather.replace();
18+
},
19+
updated() {
20+
feather.replace();
21+
}
22+
}
23+
</script>
24+
25+
<style scoped>
26+
27+
</style>

0 commit comments

Comments
 (0)