🚀一款简洁高效的VuePress知识管理&博客(blog)主题
MIT License
Bot releases are hidden (Show)
注意:使用主题 v1.12.9 时,请使用 nodejs 18.x 及以上版本,并且在dev、build前添加export NODE_OPTIONS=--openssl-legacy-provider
, 例:
"scripts": {
"dev": "export NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=4096 ./node_modules/vuepress/cli.js dev docs",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=4096 ./node_modules/vuepress/cli.js build docs",
}
Published by xugaoyi about 2 years ago
Published by xugaoyi over 2 years ago
Published by xugaoyi over 2 years ago
// 默认外观模式(用户未在页面手动修改过模式时才生效,否则以用户设置的模式为准),可选:'auto' | 'light' | 'dark' | 'read',默认'auto'。
defaultMode: 'auto',
Published by xugaoyi over 2 years ago
Published by xugaoyi over 2 years ago
Published by xugaoyi over 2 years ago
Published by xugaoyi over 2 years ago
Published by xugaoyi over 2 years ago
Published by xugaoyi over 2 years ago
Published by xugaoyi over 2 years ago
Published by xugaoyi almost 3 years ago
console.log
Published by xugaoyi almost 3 years ago
Published by xugaoyi almost 3 years ago
参考 config.ts
用于给标题添加 原创
、转载
、优质
等自定义标记。
在front matter
配置:
---
titleTag: 原创
---
vuepress
版本升级到v1.9.2
, 使config
配置文件支持TypeScript, 同时vdoing
主题的也编写了VdoingThemeConfig
类型接口。使用方式参考:config.ts
Published by xugaoyi almost 3 years ago
Published by xugaoyi almost 3 years ago
Published by xugaoyi almost 3 years ago
md
文件过多在打包时可能出现栈溢出的问题