Skip to content

Commit 128ab4e

Browse files
Vue files modified with EsLint
1 parent 2b2179c commit 128ab4e

File tree

5 files changed

+25
-31
lines changed

5 files changed

+25
-31
lines changed

src/components/testingVue3.vue

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
<script>
22
export default {
3-
name: 'testing-vue-3'
3+
name: 'TestingVue3',
4+
methods: {
5+
lorem(){
6+
const test = 'gola'
7+
return lorem
8+
}
9+
}
410
}
511
</script>
612

713
<template lang="pug">
814
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
1016
</template>
1117

1218
<style lang="stylus">
1319
.test
14-
// color: $negative
15-
</style>
20+
color: green
21+
</style>

src/pages/Error404.vue

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,19 @@
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
2310
</template>
2411

2512
<script>
2613
import { defineComponent } from 'vue'
27-
14+
import TestingVue3 from '~/components/testingVue3.vue'
2815
export default defineComponent({
29-
name: 'Error404'
16+
name: 'Error404',
17+
components: {TestingVue3}
3018
})
3119
</script>

src/stories/Button.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import './button.css';
77
import { reactive, computed } from 'vue';
88
99
export default {
10-
name: 'my-button',
10+
name: 'MyButton',
1111
1212
props: {
1313
label: {

src/stories/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import './header.css';
3434
import MyButton from './Button.vue';
3535
3636
export default {
37-
name: 'my-header',
37+
name: 'MyHeader',
3838
3939
components: { MyButton },
4040

src/stories/Page.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import './page.css';
6363
import MyHeader from './Header.vue';
6464
6565
export default {
66-
name: 'my-page',
66+
name: 'MyPage',
6767
6868
components: { MyHeader },
6969

0 commit comments

Comments
 (0)