Files
netdisk-fast-download/web-front
dependabot[bot] 58f96822a4 Bump @eslint/plugin-kit from 0.2.2 to 0.2.3 in /web-front
Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/plugin-kit-v0.2.2...plugin-kit-v0.2.3)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 21:50:27 +00:00
..
2024-09-24 18:05:30 +08:00
.
2024-11-07 18:37:08 +08:00
2024-11-04 18:56:49 +08:00
2023-07-31 03:21:39 +08:00
2023-07-31 03:21:39 +08:00
2024-11-05 18:42:32 +08:00
2024-11-13 13:59:54 +08:00
2024-11-07 12:34:24 +08:00

nfd-web

使用vue3+element-plus打造 解析服务的前端页面, 提供API测试, 统计查询, 二维码生成等;
20241101 支持剪切板链接自动识别解析, 一键生成短链
20241111 vue框架升级为3.0

img_2.png img.png img_1.png

关于如何将前端项目和java一块打包:

  1. 先打包前端模块
  2. 打包后请将当前目录下的nfd-front目录放置在项目下webroot目录, 然后使用maven打包java模块即可 npm run build 会直接打包到后端代理目录下, 无需复制
  3. 项目部署后演示页面的代理端口是6401默认使用http, 如需https可以加nginx代理, 也可以使用本项目自带的代理服务和配置证书路径

nginx配置

    location / {
      proxy_pass http://127.0.0.1:6401;
      proxy_set_header Host $host;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

参考项目