{"id":44433507,"url":"https://github.com/malobre/dprint-plugin-vue","last_synced_at":"2026-02-12T13:44:29.205Z","repository":{"id":44627088,"uuid":"451684946","full_name":"malobre/dprint-plugin-vue","owner":"malobre","description":"Format Vue SFC","archived":false,"fork":false,"pushed_at":"2022-11-07T13:36:50.000Z","size":73,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-01T18:29:35.784Z","etag":null,"topics":["dprint","dprint-plugin"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/malobre.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"malobre"}},"created_at":"2022-01-25T00:46:29.000Z","updated_at":"2024-03-27T00:18:22.000Z","dependencies_parsed_at":"2023-01-22T11:45:54.529Z","dependency_job_id":null,"html_url":"https://github.com/malobre/dprint-plugin-vue","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/malobre/dprint-plugin-vue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malobre%2Fdprint-plugin-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malobre%2Fdprint-plugin-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malobre%2Fdprint-plugin-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malobre%2Fdprint-plugin-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malobre","download_url":"https://codeload.github.com/malobre/dprint-plugin-vue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malobre%2Fdprint-plugin-vue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29367640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"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":["dprint","dprint-plugin"],"created_at":"2026-02-12T13:44:28.461Z","updated_at":"2026-02-12T13:44:29.201Z","avatar_url":"https://github.com/malobre.png","language":"Rust","funding_links":["https://github.com/sponsors/malobre"],"categories":[],"sub_categories":[],"readme":"# dprint-plugin-vue\n\nFormat Vue SFC.\n\nThis plugin format root-level blocks through `dprint`, meaning you will need to\ninstall plugins for the languages contained in your Vue SFCs.\n\n## Block default language\n\nUnless a `lang` attribute is present:\n\n| Block      | Default |\n| ---------- | ------- |\n| `script`   | `js`    |\n| `template` | `html`  |\n| `style`    | `css`   |\n\n## Usage\n\n[Install](https://dprint.dev/install) and [setup](https://dprint.dev/setup)\ndprint, then:\n\n1. Run\n   ```shell\n   dprint config add malobre/vue\n   ```\n2. Install plugins for the languages contained in your vue files.\n3. Ensure `.vue` file extensions are matched in an `includes` pattern:\n   ```jsonc\n   {\n     // -- snip --\n     \"includes\": [\n       \"**/*.vue\"\n     ]\n   }\n   ```\n4. Add a `vue` configuration property if desired:\n   ```jsonc\n   {\n     // -- snip --\n     \"vue\": {\n       // vue config goes here\n     }\n   }\n   ```\n\n## Configuration\n\n| Key              | Default | Description                                |\n| ---------------- | ------- | ------------------------------------------ |\n| `indentTemplate` | `true`  | Indent the content of the `\u003ctemplate\u003e` tag |\n| `indentScript`   | `false` | Indent the content of the `\u003cscript\u003e` tag   |\n| `indentWidth`    | `2`     | Width of the indentation                   |\n| `useTabs`        | `false` | Use tabs for indentation                   |\n\n## Building\n\nRun\n\n```shell\ncargo build --release --target=wasm32-unknown-unknown\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalobre%2Fdprint-plugin-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalobre%2Fdprint-plugin-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalobre%2Fdprint-plugin-vue/lists"}