{"id":26286828,"url":"https://github.com/joyceql/babel-plugin-tracer","last_synced_at":"2026-04-28T19:33:33.435Z","repository":{"id":126937665,"uuid":"456433389","full_name":"JOYCEQL/babel-plugin-tracer","owner":"JOYCEQL","description":"tracer-ui组件库的对应的babel按需加载插件","archived":false,"fork":false,"pushed_at":"2022-02-09T03:11:19.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-31T08:26:28.778Z","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/JOYCEQL.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-07T09:16:11.000Z","updated_at":"2022-02-07T09:24:37.000Z","dependencies_parsed_at":"2023-06-19T02:52:37.431Z","dependency_job_id":null,"html_url":"https://github.com/JOYCEQL/babel-plugin-tracer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JOYCEQL/babel-plugin-tracer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JOYCEQL%2Fbabel-plugin-tracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JOYCEQL%2Fbabel-plugin-tracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JOYCEQL%2Fbabel-plugin-tracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JOYCEQL%2Fbabel-plugin-tracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JOYCEQL","download_url":"https://codeload.github.com/JOYCEQL/babel-plugin-tracer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JOYCEQL%2Fbabel-plugin-tracer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32396088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-03-14T20:39:24.997Z","updated_at":"2026-04-28T19:33:33.430Z","avatar_url":"https://github.com/JOYCEQL.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# babel-plugin-tracer\n\n## 安装\n```\nyarn add babel-plugin-tracer -D\n```\n\n## babel.config.js\n```js\nmodule.exports = {\n  presets: [\n    '@vue/cli-plugin-babel/preset'\n  ],\n  plugins: [\n      [\"babel-plugin-tracer\", {\n        \"cssPath\": \"tracer-ui/lib/style/{key}.css\",\n        \"jsPath\": \"tracer-ui/lib/Tracer.es.js\",\n        \"lib\": \"tracer-ui\" \n    }]\n  ]\n}\n```\n## 按需引入\n只需要在main.js里引入对应的组件即可\n```js\n\nimport { createApp } from 'vue'\nimport App from './App.vue'\nimport {Button} from 'tracer-ui'\ncreateApp(App).use(Button).mount('#app')\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoyceql%2Fbabel-plugin-tracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoyceql%2Fbabel-plugin-tracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoyceql%2Fbabel-plugin-tracer/lists"}