Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stars-sea/admission_map
将同学们的学校展示在地图上的网页
https://github.com/stars-sea/admission_map
css echarts html map typescript vite
Last synced: about 1 month ago
JSON representation
将同学们的学校展示在地图上的网页
- Host: GitHub
- URL: https://github.com/stars-sea/admission_map
- Owner: Stars-sea
- License: gpl-3.0
- Created: 2024-07-24T10:42:29.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-24T11:13:21.000Z (5 months ago)
- Last Synced: 2024-07-25T12:35:00.583Z (5 months ago)
- Topics: css, echarts, html, map, typescript, vite
- Language: TypeScript
- Homepage:
- Size: 12.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Admission Map
将同学们的学校展示在地图上的网页
## 使用方法
1. 克隆仓库, 并转到项目文件夹
```bash
$ git clone https://github.com/Stars-sea/admission_map.git
$ cd admission_map
```2. 使用 `npm i` 安装依赖
3. 修改`src/assets/json/admissions.json`文件, 如
```jsonc
[
{
"name": "张三",
"college": "清华大学", // 将从 colleges.json 查找对应省份 (可能不全, 需要手动检测)
"major": "计算机科学与技术"
}
]
```4. 再在项目根目录运行
```bash
$ node run dev
```5. 确认无误后用 `node run build` 打包
如果不想打包成单网页, 删去 `vite.config.ts` 就行## 库 / 资源
Apache ECharts:
lodash:
地图数据:
思源黑体:
## 开源许可 / License
GPL v3: