2026-03-06 22:41:57 +08:00
2026-02-02 23:28:29 +08:00
2026-03-02 10:33:39 +08:00
1
2026-03-06 22:41:57 +08:00
2026-02-02 23:28:29 +08:00
2026-02-02 23:28:29 +08:00
2026-02-02 23:28:29 +08:00
2026-02-02 23:28:29 +08:00
2026-02-02 23:28:29 +08:00
2026-02-02 23:28:29 +08:00
2026-02-02 23:28:29 +08:00
2026-02-02 23:28:29 +08:00
2026-02-02 23:28:29 +08:00

本地运行

npm config set registry https://registry.npmmirror.com/
npm install
npm run dev


npm install babel-plugin-component -D --legacy-peer-deps

打包

npm install
npm run build:prod
编译结果admin-ui/dist目录

npm cache clean --force

rm -rf node_modules rm package-lock.json # 或者 rm yarn.lock npm install

npm install --legacy-peer-deps

npm install --loglevel verbose

server { listen 80; server_name localhost; charset utf-8;

	location / {
        root   /opt/web/;
		try_files $uri $uri/ /index.html;
        index  index.html index.htm;
    }
	
	location /prod-api/ {
		proxy_set_header Host $http_host;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header REMOTE-HOST $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_pass http://210.45.128.61:9095/;
	}

	# springdoc proxy
	location ~ ^/v3/api-docs/(.*) {
		proxy_pass http://localhost:8080/v3/api-docs/$1;
	}

    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }
}
Description
国瑞驾驶舱前端
Readme 10 MiB
Languages
JavaScript 71.1%
Vue 20.4%
HTML 7.5%
CSS 0.7%
SCSS 0.3%