41
README.md
41
README.md
@@ -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
|
||||
```
|
||||

|
||||
|
||||
Reference in New Issue
Block a user