{"id":20269180,"url":"https://github.com/pig-mesh/pig-ui-electron","last_synced_at":"2025-09-16T12:53:13.185Z","repository":{"id":107193041,"uuid":"303119444","full_name":"pig-mesh/pig-ui-electron","owner":"pig-mesh","description":"pig-ui的 electron 移植版（或者叫增强，因为他们并不冲突）","archived":false,"fork":false,"pushed_at":"2021-05-21T13:23:26.000Z","size":1587,"stargazers_count":12,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T04:01:51.975Z","etag":null,"topics":["electron","pig-ui","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pig-mesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-11T12:48:01.000Z","updated_at":"2024-04-01T21:13:42.000Z","dependencies_parsed_at":"2023-05-28T17:00:07.613Z","dependency_job_id":null,"html_url":"https://github.com/pig-mesh/pig-ui-electron","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pig-mesh/pig-ui-electron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pig-mesh%2Fpig-ui-electron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pig-mesh%2Fpig-ui-electron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pig-mesh%2Fpig-ui-electron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pig-mesh%2Fpig-ui-electron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pig-mesh","download_url":"https://codeload.github.com/pig-mesh/pig-ui-electron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pig-mesh%2Fpig-ui-electron/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265616632,"owners_count":23798866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electron","pig-ui","vue"],"created_at":"2024-11-14T12:23:45.932Z","updated_at":"2025-09-16T12:53:08.142Z","avatar_url":"https://github.com/pig-mesh.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"## pig-ui electron 版本\n\n此项目是 [pig-ui](https://github.com/pig-mesh/pig-ui) 的`electron`移植版\n\n\n### 开发环境\n\n安装依赖\n\n```shell script\nyarn\n```\n或者\n```shell script\nnpm i\n```\n\n修改`.env.development`文件中的`VUE_APP_API_URL`参数，它表示后端服务的地址。然后可以跑起来了:\n\n```shell script\nyarn electron:dev\n```\n\n\u003e 启动过程可能有点慢,需要等一会。\n\n\n### 打包\n\n打包预设了3种环境:\n\n- 集成测试 `prod:sit`\n- 验收测试 `prod:uat`\n- 生产环境 `prod`\n\n对应的配置文件`.env.development.sit`、.env.development.uat`、.env.development`，你需要修改里面的`VUE_APP_API_URL`参数，填上服务端地址。\n\n根据你的需要进行打包:\n\n```shell script\nyarn electron:build:sit\nyarn electron:build:uat\nyarn electron:build:prod\n```\n\n### 命令行参数\n\n`--url ${URL}` 以外部URL启动,比如 `pig-ui.exe --url  https://pigx.pig4cloud.com/` 一般用于测试。\n\n### 效果演示\n\n![login](docs/screen/pig-login.png)\n\n![login](docs/screen/pig-home.png)\n\n![login](docs/screen/pig-menus.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpig-mesh%2Fpig-ui-electron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpig-mesh%2Fpig-ui-electron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpig-mesh%2Fpig-ui-electron/lists"}