在已有的vuepress项目目录下 npm install vuepress-theme-reco --save-dev 并在.vuepress/config.js下引用 // .vuepress/config.js module.exports = { theme: 'reco' } 后,页面无反应,浏览器console报错 Other relevant information Your OS: Windows 10 Node.js version: v14.15.4 VuePress version: 1.8.0...
yarn add @vuepress-reco/vuepress-plugin-kan-ban-niang //引入依赖 1. 配置 在config.js下的moudule.export加入这些 plugins: [ [ '@vuepress-reco/vuepress-plugin-kan-ban-niang',{ theme: [ 'miku', 'whiteCat', 'haru1', 'haru2', 'haruto', 'koharu', 'izumi', 'shizuku', 'wanko', 'blac...
可以通过将主题更换到本地,而后修改 vuepress-theme-reco 本地主题的 enhanceApp.js 对应源码解决该问题,这样只要不更新主题就可一次解决。 // enhanceApp.js import postMixin from '@theme/mixins/posts' import localMixin from '@theme/mixins/locales' import { addLinkToHead } from '@theme/helpers/utils...
vuepress的主题reco使用 npm run docs:build 构建时确实容易出错。可以用 npm install vuepress-theme-reco --save-dev theme-cli init blogs npm install npm run build 来创建vuepress-theme-reco主题 有用 回复 撰写回答 你尚未登录,登录后可以 和开发者交流问题的细节 关注并接收问题和回答的更新提醒 参与内容...
某天打包时发现 错误如下 并没有打包成功 而npm run dev 时也出现了一下提示 [BABEL] Note: The code generator has deoptimised the styling of E:\project\mvip-note\blog\node_modules@vuepress\core.temp\internal\siteData.js as it exceeds the max of 500KB. ...
如题,在进行本地开发时无异常,一打包就报错以下是 config.js 内容: module.exports = { title: '买个萝卜', description: '萝卜的个人文档', base: "/luobo-doc/", dest:".vuepress/luobo-doc", markdown: { lineNumbers: false // 代码块显示行号 }, themeConfig: { nav: [ {text: '主页', lin...
0x02 安装vuepress-theme-reco主题 yarn add -D vuepress-theme-reco 新建config.js mkdir blog/.vuepress touch blog/.vuepress/config.js 0x03 config.js配置 config.js配置,以下是我的配置,仅供参考 module.exports={base:'/',locales:{'/':{lang:'zh-CN'}},title:'Torrk\'s Blog',description:'记录...
针对你提出的“找不到模块 vuepress-theme-reco”的问题,我为你提供以下可能的解决方案: 确认是否已经正确安装了vuepress-theme-reco模块: 首先,你需要确认是否已经在你的项目中安装了vuepress-theme-reco。可以通过在项目根目录下运行以下命令来检查: bash npm list vuepress-theme-reco 或者,如果你使用的是Yarn,可...
1 2 3 编译,默认在blog/.vuepress/dist/目录下生成整个网站的静态文件 yarnbuild 1 copy #参考资料 yarn安装:https://yarn.bootcss.com/docs/install/#debian-stable(opens new window) vuepress-theme-rec:https://vuepress-theme-reco.recoluan.com/views/1.x/(opens new window) ...
前言: 虽然Vuepress的vuepress-theme-reco主题已经很完美了,但为了更加适合自己,我们可以自己更改其代码加上各种插件做成自己喜欢的风格 1. 修改主题颜色 我这里暂时没有修改,如有需要可以通过配置 .vuepress/styles/palette.styl 来快速修改主题的一些颜色属性。(如果不存在该目录和文件就创建一个) // 默认值 $accen...