-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2e24bd
commit ec22399
Showing
5 changed files
with
127 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,71 @@ | ||
export default { | ||
title: '打工是不可能打工', | ||
description: '个人博客', // 博客的介绍 | ||
base: '/blog/', // 如果想用 https://mlyz.wdy.github.io/blog/ 访问,那么这句话必填 | ||
base: '/blog/', | ||
themeConfig: { | ||
logo:'', | ||
logo: '', | ||
nav: [ | ||
// { text: "vue", link: "/articles/vue/上传素材到COS" }, | ||
// { text: "uniapp", link: "/articles/uniapp/一键登录" }, | ||
{ | ||
text: '其他', | ||
text: 'oi', | ||
items: [ // 可以配置成下拉 | ||
{ text: 'js', link: '/articles/js/js' }, | ||
// { text: '', link: '/articles/libs/VForm3低代码初体验' }, | ||
{ text: '其他', link: '/articles/other/代码' }, | ||
] | ||
} | ||
], | ||
sidebar: { // 侧边栏,可以分组 | ||
"/articles/js/": [ | ||
{ | ||
text: "基础", | ||
items: [ | ||
{ | ||
text: "js", | ||
link: "/articles/js/js", | ||
}, | ||
{ | ||
text: "typescript", | ||
link: "/articles/js/typescript", | ||
}, | ||
], | ||
|
||
}, | ||
{ | ||
text: "代码段", | ||
items: [ | ||
], | ||
}, | ||
], | ||
"/articles/other/": [ | ||
{ | ||
text: "", | ||
items: [ | ||
{ | ||
text: "代码", | ||
link: "/articles/other/代码", | ||
} | ||
], | ||
}, | ||
// { | ||
// text: "代码段", | ||
// items: [ | ||
|
||
// ], | ||
// }, | ||
], | ||
}, | ||
// sidebar: { // 侧边栏,可以分组 | ||
// "/articles/js/": [ | ||
// { | ||
// text: "基础", | ||
// items: [ | ||
// { | ||
// text: "js", | ||
// link: "/articles/js/js", | ||
// }, | ||
// { | ||
// text: "typescript", | ||
// link: "/articles/js/typescript", | ||
// }, | ||
// ], | ||
|
||
// }, | ||
// { | ||
// text: "代码段", | ||
// items: [ | ||
// ], | ||
// }, | ||
// ], | ||
// "/articles/other/": [ | ||
// { | ||
// text: "", | ||
// items: [ | ||
// { | ||
// text: "代码", | ||
// link: "/articles/other/代码", | ||
// } | ||
// ], | ||
// }, | ||
// ], | ||
// }, | ||
sidebar: [ | ||
{ | ||
text: '基础', | ||
items: [ | ||
{ text: 'js', link: '/articles/js/js' }, | ||
{ text: 'typescript', link: '/articles/js/typescript' }, | ||
] | ||
}, | ||
{ | ||
text: '代码段', | ||
items: [ | ||
{ text: '代码', link: '/articles/other/代码' }, | ||
] | ||
} | ||
], | ||
socialLinks: [{ icon: "github", link: "https://github.com/3104026951" }], // 可以连接到 github | ||
footer: { | ||
// message: 'Released under the MIT License.', | ||
copyright: 'Copyright © 2022-present 3104026951' | ||
} | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<template> | ||
The count is: {{ count }} | ||
|
||
<button :class="$style.button" @click="count++">Increment</button> | ||
</template> | ||
<script setup> | ||
import { ref } from 'vue' | ||
const count = ref(0) | ||
</script> | ||
|
||
<style module> | ||
.button { | ||
color: red; | ||
display: block; | ||
font-weight: bold; | ||
font-size: 1.2em; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<template> | ||
The count is: {{ count }} | ||
|
||
<button :class="$style.button" @click="count++">Increment</button> | ||
</template> | ||
<script setup> | ||
import { ref } from 'vue' | ||
const count = ref(0) | ||
</script> | ||
|
||
<style module> | ||
.button { | ||
color: red; | ||
display: block; | ||
font-weight: bold; | ||
font-size: 1.2em; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
# Hello VitePress | ||
--- | ||
layout: home | ||
|
||
hero: | ||
name: "中年人的代码人生" | ||
text: "记录一些学习过程" | ||
# tagline: | ||
actions: | ||
- theme: brand | ||
text: 开始阅读 | ||
link: /tech/ | ||
- theme: alt | ||
text: 关于我 | ||
link: /about/ | ||
features: | ||
- title: "技术" | ||
details: "记录一些学习过程" | ||
- title: "生活" | ||
details: "记录一些生活琐事" | ||
- title: "其他" | ||
details: "记录一些其他东西" | ||
--- |