{"id":27608256,"url":"https://github.com/devon3818/uni-app-pages-cli","last_synced_at":"2025-04-22T22:29:58.654Z","repository":{"id":57386057,"uuid":"271428437","full_name":"Devon3818/uni-app-pages-cli","owner":"Devon3818","description":"uni-app-pages-cli","archived":false,"fork":false,"pushed_at":"2020-06-15T05:57:26.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T22:09:18.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Devon3818.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-11T02:02:25.000Z","updated_at":"2020-06-15T05:57:28.000Z","dependencies_parsed_at":"2022-09-14T16:00:19.695Z","dependency_job_id":null,"html_url":"https://github.com/Devon3818/uni-app-pages-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devon3818%2Funi-app-pages-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devon3818%2Funi-app-pages-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devon3818%2Funi-app-pages-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devon3818%2Funi-app-pages-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Devon3818","download_url":"https://codeload.github.com/Devon3818/uni-app-pages-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250333785,"owners_count":21413461,"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":[],"created_at":"2025-04-22T22:29:57.883Z","updated_at":"2025-04-22T22:29:58.648Z","avatar_url":"https://github.com/Devon3818.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uni-app-pages-cli\n\nuni-app 开发中根据规则自动生成页面目录和配置页面路径，使得开发者不需要手动的去添加页面配置到 pages.json和创建文件目录\n\n新的page页面目录会生成在根目录的pages目录下\n\n## 安装\n\n\u003e npm install -g uni-app-pages-cli\n\n## 使用\n\n```\n用法：uni-add [options]\n\n\n选项：\n\n  -v, --VERSION                   版本号\n  -r, --root \u003crootName\u003e           添加分包加载配置 root 目录\n  -p, --path \u003cpageName\u003e           添加 pages 节点配置\n\n```\n\n## 示例\n\n\n\u003e uni-add -r TEST\n\n```\n\"subPackages\": [\n  {\n    \"root\": \"pages/TEST\"\n  }\n]\n```\n\n\u003e uni-add -p page\n\n```\n\"pages\": [\n  {\n    \"path\": \"pages/page/index\",\n    \"style\": {\n      \"navigationBarTitleText\": \"\"\n    }\n  }\n]\n```\n\n\u003e uni-add -r TEST -p page\n\n```\n\"subPackages\": [\n  {\n    \"root\": \"pages/TEST\",\n    \"pages\" [{\n      \"path\": \"page/index\",\n        \"style\": {\n          \"navigationBarTitleText\": \"\"\n        }\n    }]\n  }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevon3818%2Funi-app-pages-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevon3818%2Funi-app-pages-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevon3818%2Funi-app-pages-cli/lists"}