{"id":15586661,"url":"https://github.com/innei/components-playground","last_synced_at":"2026-02-27T19:12:19.792Z","repository":{"id":44575189,"uuid":"452560011","full_name":"Innei/components-playground","owner":"Innei","description":"用于分离测试组件的效果，或用于写组件 Demo，游乐场。","archived":false,"fork":false,"pushed_at":"2023-10-08T08:29:03.000Z","size":187,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T04:22:15.225Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Innei.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":"2022-01-27T06:07:09.000Z","updated_at":"2023-02-02T06:44:02.000Z","dependencies_parsed_at":"2024-10-02T21:51:05.829Z","dependency_job_id":null,"html_url":"https://github.com/Innei/components-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Innei%2Fcomponents-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Innei%2Fcomponents-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Innei%2Fcomponents-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Innei%2Fcomponents-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Innei","download_url":"https://codeload.github.com/Innei/components-playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557742,"owners_count":20958046,"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":"2024-10-02T21:40:55.662Z","updated_at":"2026-02-27T19:12:14.755Z","avatar_url":"https://github.com/Innei.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 便携式多环境组件测试\n\n用于分离测试组件的效果，或用于写组件 Demo。\n\n当前支持的环境有 React 17，Vue 3。支持 TypeScript，Vue TSX，PostCSS，TailwindCSS 3。\n\n## 如何使用\n\nFork 此项目。或者 Clone 到本地。使用 pnpm 安装 workspace 需要的依赖。\n\n```\npnpm i\n```\n\n启动单个环境：\n\n```\npnpm run dev:react\npnpm run dev:vue\n```\n\n在每个环境中的 pages 目录下可以编写新的组件测试。路由将自动生成。\n\n注意：pages 下的页面组件必须存在默认导出。\n\n## 大概就是这样的界面\n\nReact:\n\n![](https://cdn.jsdelivr.net/gh/Innei/fancy@master/2022/0127140527.png)\n\nVue:\n\n![](https://cdn.jsdelivr.net/gh/Innei/fancy@master/2022/0127140602.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnei%2Fcomponents-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finnei%2Fcomponents-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnei%2Fcomponents-playground/lists"}