sugar-blog icon indicating copy to clipboard operation
sugar-blog copied to clipboard

✍️📚我写博客的地方🤪🤪🤪记录随笔与学习笔记,仓库包含:博客内容,博客主题、博客模板、vitepress离线全文搜索插件、VitePress RSS 支持插件;a blog theme use vitepress

粥里有勺糖

你的指尖,拥有改变世界的力量

博客主题:@sugarat/theme

code style

仓库介绍

这是一个 monorepo 仓库,目前有如下四个部分

  • blogpress:博客内容本身
  • @sugarat/theme:博客分离出的通用VitePress主题
  • 创建主题模板项目CLI:用于快速创建和作者一样风格的博客
  • vitepress-plugin-pagefind:基于pagefind实现的VitePress离线全文搜索支持插件
  • vitepress-plugin-rss:基于 feed 实现的 VitePress RSS 支持插件

快速创建博客模板

支持多种包管理工具

# With PNPM:
pnpm create @sugarat/theme

# With NPM:
npm create @sugarat/theme@latest

# With Yarn:
yarn create @sugarat/theme

# With Bun
bun create @sugarat/theme

运行本项目

这是一个 monorepo 仓库,博客基于vitepress搭建,运行前需先安装依赖,构建主题包

① 先安装 pnpm

npm i -g pnpm
# 安装依赖
pnpm install

② 构建依赖包的npm包

pnpm buildlib

③ 运行

# 运行博客
pnpm dev

# 运行主题包文档
pnpm dev:theme

:pencil:关于内容

大前端开发相关知识,包含但不限于前端

记录面试中所遇的问题,并整理相关知识点,分模块进行了梳理

:speak_no_evil:关于笔者

21年毕业,目前就职于美团,热爱大前端开发技术

热爱开源,乐于分享

图片

:link:个人相关链接

:phone:联系我

如对博客内容,知识,排版等有疑问或者建议,欢迎邮件和我联系

邮箱:[email protected]

公众号

:coffee:赞赏

微信 微信赞赏 支付宝

Star History

Star History Chart

Stargazers over time

Stargazers over time

Project Status

status

Contributors

Thanks to all the contributors!

Made with contrib.rocks.