File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 10
10
"@typescript-eslint/ban-types": "error",
11
11
"vue/no-side-effects-in-computed-properties": "error",
12
12
"vue/html-self-closing": ["error", { "html": { "void": "always" } }],
13
- "vue/component-name-in-template-casing": ["error", "kebab-case"], // script setup では動かない? https://github.com/vuejs/eslint-plugin-vue/issues/1629
13
+ "vue/component-name-in-template-casing": ["error", "kebab-case"],
14
14
"vue/no-duplicate-attr-inheritance": "error",
15
15
"vue/no-template-target-blank": "error",
16
16
// "vue/no-unused-properties": "error", // defineProps で意図ぜず error になる
Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ import SvgIcon from '@/components/common/SvgIcon.vue'
5
5
<template >
6
6
<aside class =" flex items-center gap-2" >
7
7
<a href =" https://kkeisuke.com" target =" _blank" rel =" noopener noreferrer" aria-label =" home" >
8
- <SvgIcon icon =" home" class =" w-6 h-6" />
8
+ <svg-icon icon =" home" class =" w-6 h-6" />
9
9
</a >
10
10
<a href =" https://github.com/kkeisuke" target =" _blank" rel =" noopener noreferrer" aria-label =" github" >
11
- <SvgIcon icon =" github" class =" w-6 h-6" />
11
+ <svg-icon icon =" github" class =" w-6 h-6" />
12
12
</a >
13
13
<a href =" https://twitter.com/kkeisuke" target =" _blank" rel =" noopener noreferrer" aria-label =" twitter" >
14
- <SvgIcon icon =" twitter" class =" w-6 h-6" />
14
+ <svg-icon icon =" twitter" class =" w-6 h-6" />
15
15
</a >
16
16
</aside >
17
17
</template >
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ const { title } = useRuntimeConfig().public
8
8
9
9
<template >
10
10
<main >
11
- <ArticleBlogTitle :title =" title" class =" mb-10" />
11
+ <article-blog-title :title =" title" class =" mb-10" />
12
12
<!-- path が無いと、generate 時に取得できない -->
13
13
<ContentDoc path =" /404" class =" nuxt-content" tag =" section" />
14
- <Links class =" pt-4" />
14
+ <links class =" pt-4" />
15
15
</main >
16
16
</template >
17
17
Original file line number Diff line number Diff line change @@ -26,17 +26,17 @@ article.value && useHead({
26
26
27
27
<template >
28
28
<main >
29
- <ArticleBlogTitle :title =" title" class =" mb-10" />
29
+ <article-blog-title :title =" title" class =" mb-10" />
30
30
<article >
31
31
<template v-if =" article " >
32
- <ArticleHeader :title =" article.title" :date =" article.date" class =" mb-10" />
32
+ <article-header :title =" article.title" :date =" article.date" class =" mb-10" />
33
33
<ContentRenderer :value =" article" class =" nuxt-content" />
34
34
</template >
35
35
<template v-else >
36
36
<ContentDoc path =" /404" class =" nuxt-content" tag =" section" />
37
37
</template >
38
38
</article >
39
- <Links class =" pt-4" />
39
+ <links class =" pt-4" />
40
40
</main >
41
41
</template >
42
42
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ useHead({
16
16
17
17
<template >
18
18
<main >
19
- <BlogTitle :title =" title" class =" mb-4" />
20
- <Links />
21
- <ArticleList v-for =" article in articles" :key =" article._path" :article =" article" class =" mt-8" />
19
+ <blog-title :title =" title" class =" mb-4" />
20
+ <links />
21
+ <article-list v-for =" article in articles" :key =" article._path" :article =" article" class =" mt-8" />
22
22
<aside class =" pt-24" >
23
23
<p >2019年以前は <a href =" https://kkeisuke.hatenablog.com/archive" target =" _blank" rel =" noopener noreferrer" >はてなブログ</a > へ</p >
24
24
</aside >
You can’t perform that action at this time.
0 commit comments