Quick start
Quick Start
TIP
Go to here to experience the new visual scaffolding.
npx
# Init,and choose 2.x
npx @vuepress-reco/theme-cli init
npm
# Init,and choose 2.x
npm install @vuepress-reco/theme-cli@1.0.7 -g
theme-cli init
yarn
# Init,and choose 2.x
yarn global add @vuepress-reco/theme-cli@1.0.7
theme-cli init
Manual Installation
npm install vuepress@next vuepress-theme-reco@next --save-dev
# or
yarn add vuepress@next vuepress-theme-reco@next
// .vuepress/config.ts
import { defineUserConfig } from 'vuepress'
import { recoTheme } from 'vuepress-theme-reco'
export default defineUserConfig({
theme: recoTheme({
// options
})
})