{"id":18798503,"url":"https://github.com/uiwebkit/tabs-vue-2x","last_synced_at":"2026-04-14T15:32:18.986Z","repository":{"id":143122832,"uuid":"448977989","full_name":"uiwebkit/tabs-vue-2x","owner":"uiwebkit","description":"Uni Tabs example for Vue.js 2.x","archived":false,"fork":false,"pushed_at":"2022-01-17T18:01:44.000Z","size":461,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T19:13:46.464Z","etag":null,"topics":["custom-elements","html","javascript","stencil","tab","tab-bar","tabs","typescript","vue","vuejs","vuejs2","web","web-components","widget"],"latest_commit_sha":null,"homepage":"https://uiwebkit.com/wgt/tabs/1/","language":"Vue","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/uiwebkit.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}},"created_at":"2022-01-17T17:00:07.000Z","updated_at":"2023-02-16T13:47:11.000Z","dependencies_parsed_at":"2023-04-25T18:31:17.953Z","dependency_job_id":null,"html_url":"https://github.com/uiwebkit/tabs-vue-2x","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uiwebkit/tabs-vue-2x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Ftabs-vue-2x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Ftabs-vue-2x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Ftabs-vue-2x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Ftabs-vue-2x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uiwebkit","download_url":"https://codeload.github.com/uiwebkit/tabs-vue-2x/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Ftabs-vue-2x/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31803258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"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":["custom-elements","html","javascript","stencil","tab","tab-bar","tabs","typescript","vue","vuejs","vuejs2","web","web-components","widget"],"created_at":"2024-11-07T22:12:14.212Z","updated_at":"2026-04-14T15:32:18.968Z","avatar_url":"https://github.com/uiwebkit.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uni Tabs example for Vue.js 2.x\n\nCheck out demo [here](https://uiwebkit.github.io/tabs-vue-2x/)\n\nCheck out our docs [here](https://uiwebkit.com/wgt/tabs/1/)\n\n### Add to main.js\n\n```js\nVue.config.ignoredElements = [/uni-\\w*/];\n```\n\n### Add to index.html\n\n```html\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/@uiwebkit/icn@1.2.2/dist/icn/icn.esm.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/@uiwebkit/mat@2.0.0-9/dist/mat.esm.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/@uiwebkit/udk@2.0.0-20/dist/udk.esm.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/@uiwebkit/tabs@1.0.0/dist/tabs/tabs.esm.js\"\u003e\u003c/script\u003e\n```\n\n#### Specify value for the tabs as JSON string\n\n```vue\n\u003cuni-tabs value='[{\"label\": \"Tab 1\"}, {\"label\": \"Tab 2\"}]'\u003e\n  \u003cuni-template hidden\u003e\n    \u003cdiv\u003eTab Content 1\u003c/div\u003e\n    \u003cdiv\u003eTab Content 2\u003c/div\u003e\n  \u003c/uni-template\u003e\n\u003c/uni-tabs\u003e\n```\n\n#### or specify url to the tabs JSON file (ex. tabs.json) or to the backend API endpoint\n\n```vue\n\u003cuni-event-load url=\"tabs.json\" prop=\"value\"\u003e\n  \u003cuni-tabs\u003e\n    \u003cuni-template hidden\u003e\n      \u003cdiv\u003eTab 1 Content\u003c/div\u003e\n      \u003cdiv\u003eTab 2 Content\u003c/div\u003e\n    \u003c/uni-template\u003e\n  \u003c/uni-tabs\u003e\n\u003c/uni-event-load\u003e\n```\n\n#### Next-Gen Customization (with Store)\n\n```vue\n\u003cuni-store-set path=\"tab.store\" state=\"1\"/\u003e\n\n\u003cuni-tabs\u003e\n  \u003cuni-tab-bar mini\u003e\n    \u003cuni-event-store-set listen=\"click\" path=\"tab.store\" state=\"0\"\u003e\n      \u003cuni-event-store-get path=\"tab.store\" equal=\"0\" prop=\"active\"\u003e\n        \u003cuni-tab value=\"Tab 1\" icon=\"favorite\" icon-type=\"two-tone\" angle=\"270\"\u003e\u003c/uni-tab\u003e\n      \u003c/uni-event-store-get\u003e\n    \u003c/uni-event-store-set\u003e\n\n    \u003cuni-event-store-set listen=\"click\" path=\"tab.store\" state=\"1\"\u003e\n      \u003cuni-tab only\u003e\n        \u003cuni-tab-content\u003e\n          \u003cuni-tab-icon icons=\"fa\" type=\"brands\" name=\"font-awesome\"/\u003e\n\n          \u003cuni-tab-text-label\u003eTab 2\u003c/uni-tab-text-label\u003e\n\n          \u003cuni-event-store-get path=\"tab.store\" equal=\"1\" prop=\"active\"\u003e\n            \u003cuni-tab-indicator/\u003e\n          \u003c/uni-event-store-get\u003e\n        \u003c/uni-tab-content\u003e\n\n        \u003cuni-tab-ripple\u003e\u003c/uni-tab-ripple\u003e\n      \u003c/uni-tab\u003e\n    \u003c/uni-event-store-set\u003e\n  \u003c/uni-tab-bar\u003e\n\n  \u003cuni-store-display path=\"tab.store\" equal=\"0\" hidden\u003e\n    Store Tab 1 Content\n  \u003c/uni-store-display\u003e\n\n  \u003cuni-store-display path=\"tab.store\" equal=\"1\" hidden\u003e\n    Store Tab 2 Content\n  \u003c/uni-store-display\u003e\n\u003c/uni-tabs\u003e\n\n```\n\n#### Next-Gen Customization (with routes)\n\n```vue\n\u003cuni-router shadow/\u003e\n\u003cuni-router-link activate params=\"custom=1\"/\u003e\n\n\u003cuni-tabs\u003e\n  \u003cuni-tab-bar mini\u003e\n    \u003cuni-router-link params=\"custom=1\"\u003e\n      \u003cuni-route params=\"custom=1\" prop=\"active\"\u003e\n        \u003cuni-tab value=\"Tab 1\" icon=\"favorite\" icon-type=\"two-tone\" angle=\"270\"\u003e\u003c/uni-tab\u003e\n      \u003c/uni-route\u003e\n    \u003c/uni-router-link\u003e\n\n    \u003cuni-router-link params=\"custom=2\"\u003e\n      \u003cuni-route params=\"custom=2\" prop=\"active\"\u003e\n        \u003cuni-tab only\u003e\n          \u003cuni-tab-content\u003e\n            \u003cuni-tab-icon icons=\"fa\" type=\"brands\" name=\"font-awesome\"/\u003e\n\n            \u003cuni-tab-text-label value=\"Tab 2\"/\u003e\n\n            \u003cuni-route params=\"custom=2\" prop=\"active\"\u003e\n              \u003cuni-tab-indicator/\u003e\n            \u003c/uni-route\u003e\n          \u003c/uni-tab-content\u003e\n\n          \u003cuni-tab-ripple\u003e\u003c/uni-tab-ripple\u003e\n        \u003c/uni-tab\u003e\n      \u003c/uni-route\u003e\n    \u003c/uni-router-link\u003e\n  \u003c/uni-tab-bar\u003e\n\n  \u003cuni-route-display params=\"custom=1\" hidden\u003e\n    Route Tab 1 Content\n  \u003c/uni-route-display\u003e\n\n  \u003cuni-route-display params=\"custom=2\" hidden\u003e\n    Route Tab 2 Content\n  \u003c/uni-route-display\u003e\n\u003c/uni-tabs\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiwebkit%2Ftabs-vue-2x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuiwebkit%2Ftabs-vue-2x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiwebkit%2Ftabs-vue-2x/lists"}