Getting Started
The following is translated from Chinese by ChatGPT.
Installation
First, execute the following command in your VuePress 2 project to install the theme:
npm install -D vuepress-theme-mix@next
yarn add -D vuepress-theme-mix@next
pnpm add -D vuepress-theme-mix@next
Usage and Configuration
After installation, you can use the theme
configuration option in your configuration file, just like using other VuePress themes, to set the theme to use:
import { defineUserConfig } from 'vuepress'
import mixTheme from 'vuepress-theme-mix'
export default defineUserConfig({
// ...
theme: mixTheme({
// configure the theme here
}),
// ...
})
Next, you can configure the theme according to the documentation and start writing your content.
đ
On this page