# front-end
**Repository Path**: pinxue_xyz/front-end
## Basic Information
- **Project Name**: front-end
- **Description**: No description available
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-10-25
- **Last Updated**: 2021-12-07
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## 思考
在整个布局的时候考虑选择 `next.js` 作为渲染的引擎,主要是为了迎合seo,在网站架设的时候,应该首先考虑的一点是提高页面的数量,以至于提高主页的seo排名,零一点是主页有足够多多的link到其他页面
目前的思路是前端在富文本编辑后提交到数据库存储,然后后端选择一些较为良好的(多个,不定期的,热度),进行固定的渲染,静态的,随机的。大量的
在搜索的时候需要拥有数据库的戴护具去搜搜,这时让next.js动态申城页面。
值得说明的一点,几乎所有的页面都要向搜索引擎提交,而在加载的时候,需要得知相似的页面用于腿甲你。
# todo
in front end, it's important to contribute several articles about bug such as :
0> catch Error : ....
1> Uncaught ReferenceError: define is not defined
and FE can route it, and render in pages.
so the back End is hold up, waiting for FE can show something first.
## react + SEO -> next.js
react-router 做路由
### 前端架构
从 pinxue.xyz 开始 -> 包含一个进入入口和搜索框
#### /bug
显示当前查看最多的bug -> 包含分类 等其他
#### /bug/detail/:id
ssr 渲染
#### /bug/search/keyword=qwer/
前端:spa 请求接口
后端:rust 搜索查找index
#### /bug/upload
标题 —— 描述&图片 —— 标签