1 Star 2 Fork 1

vuepress-reco / vuepress-theme-reco-next

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

reco 主题 1.0 的代码仓库已经迁移至 vuepress-theme-reco-1.x

vuepress-theme-reco-next

🔥 The 2.x of vuepress-theme-reco.

In the past, theme reco has been supported by many friends, I am very honored, it changed my life, and I also made a lot of friends. But I don't think it is professional and flexible, and sometimes some advanced features require certain professionalism. I know that this is not easy for some Non-FE professional friends.

I hope the theme can be more out of the box, open and flexible, and inherit "simple" concept, give back to all friends. Come and tell me what you want it to be!

架构

image

reco 主题 2.0,将不再是一个单纯的主题,更像是一个快速搭建 vuepress 主题的解决方案,或者叫做 容器

它依赖 @vuepress-reco/vuepress-plugin-page 为主题主题扩展的页面,同时可以为特定页面注入分类、标签和分页的相关数据,并依赖其他插件默认为主题扩展一些必要功能。

reco 主题 2.0 最核心的功能就是提供了网站风格的插槽,允许通过 reco.config.js 指定网站风格和主题的其他配置,reco 主题将会内置一些风格,比如 reco 主题 1.0 的两种风格,并在未来也会拓展更多的风格,同时允许开发者更加轻松地自定义属于自己的风格。

主题风格

image

开发者可以按照 风格 package 的规范,依赖 reco 主题强大的风格插槽,任意扩展页面路由和页面内容,虽然使用同一款主题,但是每个人都可以拥有属于自己的风格。

快速开始

npx

# 初始化,并选择 2.x
npx @vuepress-reco/theme-cli init

npm

# 初始化,并选择 2.x
npm install @vuepress-reco/theme-cli@1.0.7 -g
theme-cli init

yarn

# 初始化,并选择 2.x
yarn global add @vuepress-reco/theme-cli@1.0.7
theme-cli init

预览

light_home dark_home light_category dark_page light_page dark_category

alpha 版本待办事项

功能

  • 自定义首页功能
  • nprogress 插件
  • back-to-top 插件
  • comment 插件(目前仅支持 valine,vssue 还没有支持 Vue3)
  • container 插件
  • 公告 插件
  • 代码预览 插件
  • 按照文件夹自动进设置 categories
  • 提供 tailwind 自定义 config 入口(后续官方所有风格和插件均采用 css + taiwindcss 方案)
  • 根据 tag 生成神经网络图(参考 obsidian)
  • 加密功能
  • loading 功能
  • 增加 icon 功能
  • 提供自定义任意页面的 API
  • 允许本地自定义 style(风格)代码

优化

  • 完善文档
  • 侧边栏样式优化
  • 去除 scss,采用 css + postcss 方案
  • 将通用功能全部下沉至 vuepress-theme-reco,精简 style(风格)代码
  • PWA 样式优化

beta 版本待办事项

  • 增加 icon 功能
  • 提供 tailwind 自定义 config 入口(后续官方所有风格和插件均采用 css + taiwindcss 方案)
  • PWA 样式优化
  • algolia 搜索样式优化
  • comment 插件增强
  • 增加图片适配暗色模式的配置
  • 对指定文件夹进行功能支持,比如 series、docs、blogs
MIT License Copyright (c) 2021 reco_luan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

🔥 The 2.x of vuepress-theme-reco. 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/vuepress-reco/vuepress-theme-reco-next.git
git@gitee.com:vuepress-reco/vuepress-theme-reco-next.git
vuepress-reco
vuepress-theme-reco-next
vuepress-theme-reco-next
main

搜索帮助