feat: 同步最新接口

- 支持自动添加新加入的接口 #12
This commit is contained in:
imsyy
2023-12-05 17:24:07 +08:00
parent d6155e7c30
commit 72da75ddd7
18 changed files with 194 additions and 110 deletions

View File

@@ -1,29 +1,36 @@
# DailyHot
<div align="center">
<img alt="logo" height="120" src="./public/favicon.png" width="120"/>
<h2>今日热榜</h2>
<p>汇聚全网热点,热门尽览无余</p>
<br />
<img src="./screenshots/main.jpg" style="border-radius: 16px" />
</div>
This template should help get you started developing with Vue 3 in Vite.
## Recommended IDE Setup
## 示例
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
> 这里是示例站点
## Customize configuration
- [今日热榜 - https://hot.imsyy.top/](https://hot.imsyy.top/)
See [Vite Configuration Reference](https://vitejs.dev/config/).
## Project Setup
## 部署
```sh
npm install
```bash
// 安装依赖
pnpm install
// 开发
pnpm dev
// 打包
pnpm build
```
### Compile and Hot-Reload for Development
## Vercel 部署
```sh
npm run dev
```
现已支持 Vercel 一键部署,无需服务器
### Compile and Minify for Production
> 请注意,需要修改环境变量中的 API 地址
```sh
npm run build
```
![Powered by Vercel](./public/ico/powered-by-vercel.svg)