Skip to content

Commit 040ad92

Browse files
committed
回滚package.json和package-lock.json到上次提交状态
1 parent 87ee606 commit 040ad92

19 files changed

+20570
-0
lines changed

office-website/README.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# TypeScript UserScript Template 官方网站
2+
3+
这是 [TypeScript UserScript Template](https://github.com/JSREI/typescript-userscript-template) 项目的官方介绍网站源代码,使用React和TypeScript构建。
4+
5+
## 当前状态
6+
7+
- [x] 项目初始化
8+
- [x] 基础页面结构搭建
9+
- [ ] 组件开发 (进行中)
10+
- [ ] 完整页面内容
11+
- [ ] 性能优化
12+
- [ ] 网站上线
13+
14+
目前网站处于开发初期阶段,提供了基础的项目介绍页面。完整网站将包含项目特性、安装指南、使用文档等内容。
15+
16+
## 功能特点
17+
18+
- 使用React和TypeScript构建的现代化网站
19+
- 响应式设计,适配各种设备尺寸
20+
- 美观的用户界面,展示项目特点
21+
- 集成ReactFlow可视化项目开发流程
22+
- 语法高亮展示代码示例
23+
24+
## 开发指南
25+
26+
### 安装依赖
27+
28+
```bash
29+
npm install
30+
```
31+
32+
### 启动开发服务器
33+
34+
```bash
35+
npm start
36+
```
37+
38+
### 构建生产版本
39+
40+
```bash
41+
npm run build
42+
```
43+
44+
## 项目结构
45+
46+
```
47+
office-website/
48+
├── public/ # 静态资源
49+
├── src/ # 源代码
50+
│ ├── components/ # React组件
51+
│ │ ├── Header.tsx # 导航头部
52+
│ │ ├── Hero.tsx # 首屏展示
53+
│ │ ├── Features.tsx # 特性介绍
54+
│ │ ├── WorkflowDemo.tsx # 工作流程演示
55+
│ │ ├── Installation.tsx # 安装指南
56+
│ │ ├── Configuration.tsx # 配置说明
57+
│ │ ├── TypeScriptSupport.tsx # TS支持介绍
58+
│ │ └── Footer.tsx # 网站底部
59+
│ ├── styles/ # 样式文件
60+
│ │ ├── GlobalStyles.ts # 全局样式
61+
│ │ └── Theme.ts # 主题配置
62+
│ ├── App.tsx # 应用主组件
63+
│ └── index.tsx # 应用入口
64+
└── package.json # 项目配置
65+
```
66+
67+
## 技术栈
68+
69+
- React 18
70+
- TypeScript
71+
- styled-components
72+
- ReactFlow
73+
- react-syntax-highlighter
74+
75+
## 许可证
76+
77+
MIT

0 commit comments

Comments
 (0)