{"id":16229371,"url":"https://github.com/brandonxiang/mefa","last_synced_at":"2025-09-11T18:45:57.861Z","repository":{"id":57294196,"uuid":"158556853","full_name":"brandonxiang/mefa","owner":"brandonxiang","description":"A meta framework for micro frontend ","archived":false,"fork":false,"pushed_at":"2019-01-27T04:09:12.000Z","size":1520,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T04:32:04.103Z","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/brandonxiang.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}},"created_at":"2018-11-21T14:03:10.000Z","updated_at":"2019-01-27T04:09:13.000Z","dependencies_parsed_at":"2022-08-29T07:51:07.339Z","dependency_job_id":null,"html_url":"https://github.com/brandonxiang/mefa","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonxiang%2Fmefa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonxiang%2Fmefa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonxiang%2Fmefa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonxiang%2Fmefa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandonxiang","download_url":"https://codeload.github.com/brandonxiang/mefa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247779760,"owners_count":20994572,"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-10T12:58:10.589Z","updated_at":"2025-04-08T04:53:16.615Z","avatar_url":"https://github.com/brandonxiang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mefa (Developing)\n\nA meta framework for micro-frontend, which is inspired by [Mooa](https://github.com/phodal/mooa) and [Single-SPA](https://github.com/CanopyTax/single-spa).\n\n## Usage\n\n#### Portal System\n\n```javascript\nimport { mefa } from 'mefa'\n\n// use Iframe Object to initailize \nthis.mefa = new Mefa(this.$refs.subsystem)\n// register you sub application \nthis.mefa.registerApplication({app: '1', route: '/', link: 'http://localhost:4002/'})\n\n```\n\n```javascript\n// trigger your sub application to change\nthis.mefa.navigateTo({app, route})\n```\n\n#### SubSystem\n\n```javascript\nimport { appMefa } from 'subMefa' \n\n// listen the command for routeupdate\nappMefa.onRouteUpdate((path) =\u003e {\n  route( path );\n});\n```\n\n\n## DEMO\n\n[Here is the link](https://github.com/brandonxiang/mefa/tree/master/examples)\n\n## ROADMAP\n\nissue[#1](https://github.com/brandonxiang/mefa/issues/1)\n\n## LICENSE\n\nMIT@[BrandonX](https://github.com/brandonxiang/mefa/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonxiang%2Fmefa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandonxiang%2Fmefa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonxiang%2Fmefa/lists"}