@xcpcio/board-app 0.1.18 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -0
- package/dist/index.html +1 -1
- package/dist/umi.41f7b272.js +1 -0
- package/package.json +27 -16
- package/dist/umi.05aa07bc.js +0 -1
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# xcpcio/apps/board
|
|
2
|
+
|
|
3
|
+
## Configuration
|
|
4
|
+
|
|
5
|
+
配置文件在主目录下的 `config.ts` 。
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
{
|
|
9
|
+
title: 'Board - XCPCIO',
|
|
10
|
+
publicPath: '/',
|
|
11
|
+
// 数据源的前缀目录,该部分会在发送request请求时自动加在请求地址的前缀
|
|
12
|
+
data_host: '/data/',
|
|
13
|
+
metas: [
|
|
14
|
+
{
|
|
15
|
+
name: 'keywords',
|
|
16
|
+
content: 'icpc, ccpc, board, rank, standings'
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'description',
|
|
20
|
+
content: 'XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。'
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
// 本地开发时数据源的代理地址
|
|
24
|
+
proxy: {
|
|
25
|
+
'/data': {
|
|
26
|
+
target: 'https://board.xcpcio.com',
|
|
27
|
+
changeOrigin: true,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
[MIT](../../../LICENSE) License © 2023 [XCPCIO][xcpcio]
|
|
36
|
+
|
|
37
|
+
[xcpcio]: https://github.com/XCPCIO
|