{"id":18064336,"url":"https://github.com/hugo-fixit/cmpt-mdevtools","last_synced_at":"2025-04-05T14:13:30.707Z","repository":{"id":252479232,"uuid":"839181852","full_name":"hugo-fixit/cmpt-mdevtools","owner":"hugo-fixit","description":"Mobile devtools component powered by vConsole and eruda.","archived":false,"fork":false,"pushed_at":"2024-09-01T07:07:59.000Z","size":207,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-11T10:26:15.411Z","etag":null,"topics":["eruda","hugo","theme-component","vconsole"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/hugo-fixit.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},"funding":{"custom":["https://paypal.me/Lruihao"]}},"created_at":"2024-08-07T05:49:13.000Z","updated_at":"2025-01-18T21:10:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"78ac480a-c2a4-4de3-8c37-20dc227f98ef","html_url":"https://github.com/hugo-fixit/cmpt-mdevtools","commit_stats":null,"previous_names":["hugo-fixit/cmpt-mdevtools"],"tags_count":2,"template":false,"template_full_name":"hugo-fixit/component-skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fcmpt-mdevtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fcmpt-mdevtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fcmpt-mdevtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fcmpt-mdevtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugo-fixit","download_url":"https://codeload.github.com/hugo-fixit/cmpt-mdevtools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345842,"owners_count":20924102,"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":["eruda","hugo","theme-component","vconsole"],"created_at":"2024-10-31T06:05:34.853Z","updated_at":"2025-04-05T14:13:30.685Z","avatar_url":"https://github.com/hugo-fixit.png","language":"HTML","funding_links":["https://paypal.me/Lruihao"],"categories":[],"sub_categories":[],"readme":"# cmpt-mdevtools\n\nMobile devtools component powered by vConsole and eruda.\n\n## Requirements\n\n- [FixIt](https://github.com/hugo-fixit/FixIt) v0.3.9 or later.\n- [eruda](https://github.com/liriliri/eruda)\n- [vConsole](https://github.com/Tencent/vConsole)\n\n## Install Component\n\nThe installation method is the same as [installing a theme](https://fixit.lruihao.cn/documentation/installation/). There are several ways to install, choose one, for example, install through Hugo Modules:\n\n```diff\n[module]\n  [[module.imports]]\n    path = \"github.com/hugo-fixit/FixIt\"\n+ [[module.imports]]\n+   path = \"github.com/hugo-fixit/cmpt-mdevtools\"\n```\n\n## Configuration\n\n```toml\n# Mobile Devtools config\n[params.mDevtools]\n  enable = false\n  # \"eruda\", \"vConsole\" supported\n  type = \"eruda\"\n```\n\n## Inject Partial\n\nInject the `cmpt-mdevtools.html` into the `custom-assets` through the custom block opened by the FixIt theme in the `layouts/partials/custom.html` file:\n\n```go-html-template\n{{- define \"custom-assets\" -}}\n  {{- partial \"inject/cmpt-mdevtools.html\" . -}}\n{{- end -}}\n```\n\n## References\n\n- [Develop Theme Components | FixIt](https://fixit.lruihao.cn/contributing/components/)\n- [How to Develop a Hugo Theme Component | FixIt](https://fixit.lruihao.cn/components/dev-component/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugo-fixit%2Fcmpt-mdevtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugo-fixit%2Fcmpt-mdevtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugo-fixit%2Fcmpt-mdevtools/lists"}