{"id":14962231,"url":"https://github.com/gimjin/unplugin-remove-vue-style","last_synced_at":"2026-01-21T01:10:16.668Z","repository":{"id":65770569,"uuid":"598519140","full_name":"gimjin/unplugin-remove-vue-style","owner":"gimjin","description":"remove style tag content from vue file. 从vue文件中删除style标签内容。","archived":false,"fork":false,"pushed_at":"2023-02-07T13:19:15.000Z","size":204,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-09T13:07:22.857Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/gimjin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-02-07T09:25:46.000Z","updated_at":"2023-02-10T02:59:18.000Z","dependencies_parsed_at":"2023-02-19T17:21:37.177Z","dependency_job_id":null,"html_url":"https://github.com/gimjin/unplugin-remove-vue-style","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gimjin/unplugin-remove-vue-style","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gimjin%2Funplugin-remove-vue-style","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gimjin%2Funplugin-remove-vue-style/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gimjin%2Funplugin-remove-vue-style/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gimjin%2Funplugin-remove-vue-style/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gimjin","download_url":"https://codeload.github.com/gimjin/unplugin-remove-vue-style/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gimjin%2Funplugin-remove-vue-style/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28620576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"ssl_error","status_checked_at":"2026-01-20T23:47:29.996Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":"2024-09-24T13:29:45.060Z","updated_at":"2026-01-21T01:10:16.655Z","avatar_url":"https://github.com/gimjin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Why use?\nwhen developing a website, the theme is unique on the website, and there is no need to define styles in each vue file. This can better modify the overall style without losing everything.\nIt is enough to use atomic CSS (unocss/Windi CSS/...) for local style definition, without thinking about defining class name.\nIgnore if developing a library.\n\n开发网站时，主题在网站是唯一的，不用在每个vue文件定义样式。这样做能更好的修改整体样式，而不会丢三落四。\n局部样式定义用atomic CSS(unocss/Windi CSS/...)已足够，不用思考定义class name。\n如果开发库，请忽略。\n\n### install\n```bash\nnpm i unplugin-remove-vue-style -D\n```\n\n### Configuration\n##### Vite\n```javascript\n// vite.config.ts\nimport { vitePluginRemoveVueStyle } from 'unplugin-remove-vue-style'\n\nexport default defineConfig({\n  plugins: [\n    vitePluginRemoveVueStyle(),\n    /* ... */\n  ]\n})\n```\n##### Rollup\n```javascript\n// rollup.config.js\nimport { rollupPluginRemoveVueStyle } from 'unplugin-remove-vue-style'\n\nexport default {\n  plugins: [\n    rollupPluginRemoveVueStyle(),\n    /* ... */\n  ]\n}\n```\n\n##### Webpack\n```javascript\n// webpack.config.js\nimport { webpackPluginRemoveVueStyle } from 'unplugin-remove-vue-style'\n\nmodule.exports = {\n  plugins: [\n    webpackPluginRemoveVueStyle(),\n    /* ... */\n  ]\n}\n```\n\n##### Esbuild\n```javascript\n// esbuild.config.js\nimport { build } from 'esbuild'\nimport { esbuildPluginRemoveVueStyle } from 'unplugin-remove-vue-style'\n\nbuild({\n  plugins: [\n    esbuildPluginRemoveVueStyle(),\n    /* ... */\n  ]\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgimjin%2Funplugin-remove-vue-style","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgimjin%2Funplugin-remove-vue-style","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgimjin%2Funplugin-remove-vue-style/lists"}