File tree 5 files changed +25
-31
lines changed
5 files changed +25
-31
lines changed Original file line number Diff line number Diff line change 1
1
<script >
2
2
export default {
3
- name: ' testing-vue-3'
3
+ name: ' TestingVue3' ,
4
+ methods: {
5
+ lorem (){
6
+ const test = ' gola'
7
+ return lorem
8
+ }
9
+ }
4
10
}
5
11
</script >
6
12
7
13
<template lang="pug">
8
14
div
9
- .text-bold.test.global-font.text-primary This is a test component
15
+ .text-bold.test.global-font This is a test component
10
16
</template >
11
17
12
18
<style lang="stylus">
13
19
.test
14
- // color: $negative
15
- </style >
20
+ color : green
21
+ </style >
Original file line number Diff line number Diff line change 1
- <template >
2
- <div class =" fullscreen bg-blue text-white text-center q-pa-md flex flex-center" >
3
- <div >
4
- <div style =" font-size : 30vh " >
5
- 404
6
- </div >
7
-
8
- <div class =" text-h2" style =" opacity :.4 " >
9
- Oops. Nothing here...
10
- </div >
11
-
12
- <q-btn
13
- class =" q-mt-xl"
14
- color =" white"
15
- text-color =" blue"
16
- unelevated
17
- to =" /"
18
- label =" Go Home"
19
- no-caps
20
- />
21
- </div >
22
- </div >
1
+ <template lang="pug">
2
+ .fullscreen.bg-blue.text-white.text-center.q-pa-md.flex.flex-center
3
+ div
4
+ div( style ="font-size: 30vh" )
5
+ | 404
6
+ .text-h2 ( style ="opacity:.4" )
7
+ | Oops. Nothing here...
8
+ q-btn.q-mt-xl ( color ="white" text-color ="blue" unelevated ="" to ="/" label ="Go Home" no-caps ="" )
9
+ TestingVue3
23
10
</template >
24
11
25
12
<script >
26
13
import { defineComponent } from ' vue'
27
-
14
+ import TestingVue3 from ' ~/components/testingVue3.vue '
28
15
export default defineComponent ({
29
- name: ' Error404'
16
+ name: ' Error404' ,
17
+ components: {TestingVue3}
30
18
})
31
19
</script >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import './button.css';
7
7
import { reactive , computed } from ' vue' ;
8
8
9
9
export default {
10
- name: ' my-button ' ,
10
+ name: ' MyButton ' ,
11
11
12
12
props: {
13
13
label: {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import './header.css';
34
34
import MyButton from ' ./Button.vue' ;
35
35
36
36
export default {
37
- name: ' my-header ' ,
37
+ name: ' MyHeader ' ,
38
38
39
39
components: { MyButton },
40
40
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ import './page.css';
63
63
import MyHeader from ' ./Header.vue' ;
64
64
65
65
export default {
66
- name: ' my-page ' ,
66
+ name: ' MyPage ' ,
67
67
68
68
components: { MyHeader },
69
69
You can’t perform that action at this time.
0 commit comments