Skip to content

这是子文档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 config
text
import type { UserConfig } from 'vitepress'

const config: UserConfig = {
  // ...
}

export default config
js
/**
 * @type {import('vitepress').UserConfig}
 */
const config = {
  // ...
}

export default config
ts
import type { UserConfig } from 'vitepress'

const config: UserConfig = {
  // ...
}

export default config
🎨

qweqeqwqew


1asdsaadsdas

adadasdas

2

addaad

3

1

text
flowchart LR
  Start --> Stop
ts
enhanceApp({ app, router }) {
// 注册全局组件
app.component('ArticleMetadata', ArticleMetadata)

if (inBrowser) {
  router.onBeforeRouteChange = () => {
    BProgress.start()
  }
  router.onAfterRouteChanged = () => {
    BProgress.done()
    busuanzi.fetch()
  }
}
},