这是子文档1
===这是子文档1这是子文档1这是子文档1这是子文档1这是子文档1

ts
export default {
data () {
return {
msg: 'Removed'
msg: 'Added'
}
}
}ts
export default {
data () {
return {
msg: 'Highlighted!'
}
}
}text
export default { // Highlighted
data () {
return {
msg: `Highlighted!
This line isn't highlighted,
but this and the next 2 are.`,
motd: 'VitePress is awesome',
lorem: 'ipsum'
}
}
}js
export default {
data () {
return {
msg: 'Error',
msg: 'Warning'
}
}
}text
/**
* @type {import('vitepress').UserConfig}
*/
const config = {
// ...
}
export default configtext
import type { UserConfig } from 'vitepress'
const config: UserConfig = {
// ...
}
export default configjs
/**
* @type {import('vitepress').UserConfig}
*/
const config = {
// ...
}
export default configts
import type { UserConfig } from 'vitepress'
const config: UserConfig = {
// ...
}
export default config🎨
qweqeqwqew
1asdsaadsdas
adadasdas
2
addaad
3
1
text
flowchart LR
Start --> Stopts
enhanceApp({ app, router }) {
// 注册全局组件
app.component('ArticleMetadata', ArticleMetadata)
if (inBrowser) {
router.onBeforeRouteChange = () => {
BProgress.start()
}
router.onAfterRouteChanged = () => {
BProgress.done()
busuanzi.fetch()
}
}
},