Skip to content

Development

Requirements

VitePress can be used on its own, or be installed into an existing project. In both cases, you can install it with:

Up and Running

sh
# clone repo and install deps
git clone https://github.com/lando/vitepress-theme-default-plus.git &&
  \ cd vitepress-theme-default-plus &&
  \ npm install

# start dev server
npm run dev

Testing

sh
npm run test

Building

sh
# build the static site
npm run build

# preview the static site
npm run preview

Releasing

An actual release to npm can be done by creating a release on GitHub. Pre-releases will deploy to @edge tag.

This will also trigger our prepare release and auto-deploy actions.