[go: nahoru, domu]

Skip to content

Zotero 中文社区官方网站源码 | Source code for website of Zotero Chinese community

License

Notifications You must be signed in to change notification settings

zotero-chinese/website

Repository files navigation

Zotero 中文社区站点前端

CI Netlify Status

Zotero 中文社区官方网站源码。

访问

贡献指南

网站使用 VitePress + Vue + TypeScript + Element Plus 进行开发。

  • 文档部分将 zotero-chinese/wiki 仓库内容以 Git 子模块方式从本仓库渲染,其路由 wiki 被 VitePress 重写为 /
  • 插件商店、CSL 商店、Translators 商店分别自定义了一些 Vue 组件,在 VitePress 构建时从本地或远程获取数据并渲染。

在开发前,请确保已安装 Node.js LTS 和 Git。

# Clone 子模块是不可省略的
git clone --recursive https://github.com/zotero-chinese/website.git

# Install deps
npm install -g pnpm
pnpm install

# Fetch data
pnpm fetch-data

# Development
pnpm dev

# Build
pnpm build

# Lint
pnpm lint:prettier

贡献者

感谢所有贡献者!

contributors

协议

Git 子模块以其对应的协议分发。

其余部分均采用 MIT 协议分发。

About

Zotero 中文社区官方网站源码 | Source code for website of Zotero Chinese community

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •