mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
在README.md中添加语言切换链接,支持中文和英文版本,提升用户友好性
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# MoviePilot-Frontend
|
# MoviePilot-Frontend
|
||||||
|
|
||||||
|
*中文 | [English](README_EN.md)*
|
||||||
|
|
||||||
[MoviePilot](https://github.com/jxxghp/MoviePilot) 的前端项目,NodeJS版本:>= `v20.12.1`。
|
[MoviePilot](https://github.com/jxxghp/MoviePilot) 的前端项目,NodeJS版本:>= `v20.12.1`。
|
||||||
|
|
||||||
## 推荐的IDE设置
|
## 推荐的IDE设置
|
||||||
|
|||||||
@@ -0,0 +1,41 @@
|
|||||||
|
# MoviePilot-Frontend
|
||||||
|
|
||||||
|
*[中文](README.md) | English*
|
||||||
|
|
||||||
|
Frontend project for [MoviePilot](https://github.com/jxxghp/MoviePilot), NodeJS version: >= `v20.12.1`.
|
||||||
|
|
||||||
|
## Recommended IDE Setup
|
||||||
|
|
||||||
|
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (disable Vetur).
|
||||||
|
|
||||||
|
## Vite Configuration
|
||||||
|
|
||||||
|
Please refer to [Vite Configuration Reference](https://vitejs.dev/config/).
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```sh
|
||||||
|
yarn
|
||||||
|
```
|
||||||
|
|
||||||
|
### Development
|
||||||
|
|
||||||
|
```sh
|
||||||
|
yarn dev
|
||||||
|
```
|
||||||
|
|
||||||
|
### Build
|
||||||
|
|
||||||
|
```sh
|
||||||
|
yarn build
|
||||||
|
```
|
||||||
|
|
||||||
|
### Production Deployment
|
||||||
|
|
||||||
|
1. Use `nginx` or other web servers to host the `dist` static files. See `public/nginx.conf` for nginx configuration reference.
|
||||||
|
|
||||||
|
2. Use `node` command to run `service.js` directly. It listens on port `3000` by default. Set the environment variable `NGINX_PORT` to adjust the port.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
node dist/service.js
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user