VuePressVuePress
Home
网站超链接
Get Started
代码模板
Babel文档
Home
网站超链接
Get Started
代码模板
Babel文档
  • Get Started

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.

CodeDemo

console.log("Hello World!");

BadgeDemo

这是默认主题内置的 <Badge /> 组件 演示

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.

Last Updated:
Contributors: ny