File tree Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" container mx-auto px-4" >
3
+ <p >Contact Page</p >
4
+ </div >
5
+ </template >
6
+
7
+ <script >
8
+ import feather from ' feather-icons' ;
9
+
10
+ export default {
11
+ name: ' Contact' ,
12
+ props: {
13
+ msg: String ,
14
+ },
15
+ mounted () {
16
+ feather .replace ();
17
+ },
18
+ updated () {
19
+ feather .replace ();
20
+ },
21
+ };
22
+ </script >
23
+
24
+ <style scoped></style >
Original file line number Diff line number Diff line change 32
32
class =" text-lg font-medium text-gray-400 uppercase md:mx-2 mb-2 sm:py-2"
33
33
>About Me</router-link
34
34
>
35
+ <router-link
36
+ to =" /contact"
37
+ class =" text-lg font-medium text-gray-400 uppercase md:mx-2 mb-2 sm:py-2"
38
+ >Contact</router-link
39
+ >
35
40
</div >
36
41
</div >
37
42
<div class =" flex justify-between items-center flex-col md:flex-row" >
Original file line number Diff line number Diff line change @@ -50,6 +50,20 @@ const routes = [
50
50
title : 'Single Project' ,
51
51
} ,
52
52
} ,
53
+ {
54
+ path : '/contact' ,
55
+ name : 'Contact' ,
56
+ // route level code-splitting
57
+ // this generates a separate chunk (projects.[hash].js) for this route
58
+ // which is lazy-loaded when the route is visited.
59
+ component : ( ) =>
60
+ import (
61
+ /* webpackChunkName: "projects" */ '../components/Contact.vue'
62
+ ) ,
63
+ meta : {
64
+ title : 'Contact' ,
65
+ } ,
66
+ } ,
53
67
] ;
54
68
55
69
const router = createRouter ( {
You can’t perform that action at this time.
0 commit comments