{"id":28234612,"url":"https://github.com/zwingz/vue-with-wrapper","last_synced_at":"2025-06-12T22:32:23.521Z","repository":{"id":39125038,"uuid":"263653893","full_name":"zWingz/vue-with-wrapper","owner":"zWingz","description":"vue with wrapper","archived":false,"fork":false,"pushed_at":"2023-01-06T05:48:26.000Z","size":4075,"stargazers_count":2,"open_issues_count":26,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-18T22:14:02.820Z","etag":null,"topics":["vue","vue-components"],"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/zWingz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-13T14:29:26.000Z","updated_at":"2021-01-20T15:13:16.000Z","dependencies_parsed_at":"2023-02-05T11:31:20.303Z","dependency_job_id":null,"html_url":"https://github.com/zWingz/vue-with-wrapper","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zWingz/vue-with-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zWingz%2Fvue-with-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zWingz%2Fvue-with-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zWingz%2Fvue-with-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zWingz%2Fvue-with-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zWingz","download_url":"https://codeload.github.com/zWingz/vue-with-wrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zWingz%2Fvue-with-wrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259541609,"owners_count":22873716,"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":["vue","vue-components"],"created_at":"2025-05-18T22:14:04.269Z","updated_at":"2025-06-12T22:32:23.505Z","avatar_url":"https://github.com/zWingz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-with-wrapper\n\nA object deconstruction in `Vue`\n\n[CodeSandbox](https://codesandbox.io/s/vue-with-wrapper-demo-96i3f)\n\n**Notice**\n\nIt is a `functional` component\n\n## Example\n\n### Pass any props\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003cwith :e=\"a.b.c.d.e\" :f=\"123\" :b=\"a.b\" :parse=\"parseObj()\"\u003e\n      \u003ctemplate #default=\"{ e, f, b, parse }\"\u003e\n        {{e}}\n        \u003cbr\u003e\n        {{f}}\n        \u003cbr\u003e\n        {{b}}\n        \u003cbr\u003e\n        {{parse.b}}\n        {{parse.c}}\n        {{parse.d}}\n      \u003c/template\u003e\n    \u003c/with\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n```\n\n### Pass object with v-bind\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003cwith v-bind=\"someData\"\u003e\n      \u003ctemplate #default=\"{ data_1, data_2, data_3 }\"\u003e\n        {{data_1}}\n        {{data_2}}\n      \u003c/template\u003e\n    \u003c/with\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\u003c!-- someData = { data_1: 1, data_2: 2, data_3: 3} --\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwingz%2Fvue-with-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzwingz%2Fvue-with-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwingz%2Fvue-with-wrapper/lists"}