短变量短变量
主页
HTML教程
Vue.js教程
Pinia教程
主页
HTML教程
Vue.js教程
Pinia教程
  • Get Started

    • Pages
    • Content
    • Configuration
    • Layouts and customization

Get Started

This is a normal page, which contains VuePress basics.

Pages

You can add markdown files in your vuepress directory, every markdown file will be converted to a page in your site.

See routing for more details.

Content

Every markdown file will be rendered to HTML, then converted to a Vue SFC.

VuePress support basic markdown syntax and some extensions, you can also use Vue features in it.

Configuration

VuePress use a .vuepress/config.js(or .ts) file as site configuration, you can use it to config your site.

For client side configuration, you can create .vuepress/client.js(or .ts).

Meanwhile, you can also add configuration per page with frontmatter.

Layouts and customization

Here are common configuration controlling layout of @vuepress/theme-default:

  • navbar
  • sidebar

Check default theme docs for full reference.

You can add extra style with .vuepress/styles/index.scss file.