Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oe/frontend-guideline
前端开发指导规范
https://github.com/oe/frontend-guideline
frontend guideline tutorial
Last synced: 7 days ago
JSON representation
前端开发指导规范
- Host: GitHub
- URL: https://github.com/oe/frontend-guideline
- Owner: oe
- Created: 2015-04-24T02:52:09.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-12-08T05:44:42.000Z (19 days ago)
- Last Synced: 2024-12-18T19:09:23.862Z (8 days ago)
- Topics: frontend, guideline, tutorial
- Language: MDX
- Homepage: https://app.evecalm.com/frontend-guideline/
- Size: 2.74 MB
- Stars: 29
- Watchers: 2
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 前端学习指引
本项目内容已整理为小书,请前往 来访问
项目持续完善中, 如有问题欢迎[提交 issue](https://github.com/oe/frontend-guideline/issues), 也欢迎你将本小书分享给其他人。
>[!TIP]
> 本项目使用 [Astro](https://astro.build) + [Starlight](https://starlight.astro.build) 构建## 开发步骤
推荐使用 pnpm 进行安装依赖,如果没有安装 pnpm 可以使用 npm 安装
```bash
npm install -g pnpm
```安装依赖
```bash
pnpm install
```启动本地服务
```bash
pnpm dev
```
文档存放在 `src/content/docs` 目录下,可以在该目录下创建新的 `.md` 或 `.mdx` 文件来添加新的文档构建项目
```bash
pnpm build
```预览构建后的项目
```bash
pnpm preview
```## 项目结构
```sh
.
├── public/
├── src/
│ ├── assets/
│ ├── content/
│ │ ├── docs/ # 文档
│ │ └── config.ts
│ └── env.d.ts
├── astro.config.mjs
├── package.json
└── tsconfig.json
```