Install And Use
Install
npm install vuepress@next vuepress-theme-reco@next --save-dev
# or
yarn add vuepress@next vuepress-theme-reco@next
+2.0.0-beta.16
usageWARNING
vuepress
changed the use of themes from declarative to functional after 2.0-beta.3
, and the reco theme was called in 20.0-beta.16
.
// .vuepress/config.ts
import { defineUserConfig } from 'vuepress'
import { recoTheme } from 'vuepress-theme-reco'
export default defineUserConfig({
theme: recoTheme({
// options
})
})