Getting Started

Requirements

Manual Installation

If you already have a VuePress 2 project, then you just need to install this theme manually and specify it in the configuration file.

yarn add -D vuepress-theme-mix@latest
1

Setting the theme

// docs/.vuepress/config.ts
import { defineUserConfig } from 'vuepress'
import type { MixThemeConfig } from 'vuepress-theme-mix/lib/node'

export default defineUserConfig<MixThemeConfig>({
  // ……

  // Theme Config
  theme: 'vuepress-theme-mix',

  // ……
})
1
2
3
4
5
6
7
8
9
10
11
12
Edit this page
Last Updated: 10/19/2021, 12:09:09 PM