{"id":20625497,"url":"https://github.com/denull/vue-chrome-tabs","last_synced_at":"2025-03-07T13:18:24.211Z","repository":{"id":57394932,"uuid":"120756532","full_name":"denull/vue-chrome-tabs","owner":"denull","description":"A Vue component for Chrome-like tabs (based on adamschwartz/chrome-tabs)","archived":false,"fork":false,"pushed_at":"2023-04-20T13:10:37.000Z","size":389,"stargazers_count":8,"open_issues_count":5,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-17T15:16:28.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/denull.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}},"created_at":"2018-02-08T12:07:23.000Z","updated_at":"2023-08-23T09:29:45.000Z","dependencies_parsed_at":"2022-09-06T02:52:19.665Z","dependency_job_id":null,"html_url":"https://github.com/denull/vue-chrome-tabs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denull%2Fvue-chrome-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denull%2Fvue-chrome-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denull%2Fvue-chrome-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denull%2Fvue-chrome-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denull","download_url":"https://codeload.github.com/denull/vue-chrome-tabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242394442,"owners_count":20120941,"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":[],"created_at":"2024-11-16T13:09:46.614Z","updated_at":"2025-03-07T13:18:24.192Z","avatar_url":"https://github.com/denull.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-chrome-tabs\n\n[![npm](https://img.shields.io/npm/v/vue-chrome-tabs.svg) ![npm](https://img.shields.io/npm/dm/vue-chrome-tabs.svg)](https://www.npmjs.com/package/vue-chrome-tabs)\n[![vue2](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://vuejs.org/)\n\nA Vue component for Chrome-like tabs (based on [chrome-tabs library](https://github.com/adamschwartz/chrome-tabs)).\n\n[Demo](https://denull.github.io/vue-chrome-tabs/demo.html).\n\n## Table of contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Example](#example)\n\n# Installation\n\n```\nnpm install --save vue-chrome-tabs\n```\n\n## Default import\n\nInstall all the components:\n\n```javascript\nimport Vue from 'vue'\nimport VueChromeTabs from 'vue-chrome-tabs'\n\nVue.use(VueChromeTabs)\n```\n\nUse specific components:\n\n```javascript\nimport Vue from 'vue'\nimport { ChromeTabs } from 'vue-chrome-tabs'\n\nVue.component('chrome-tabs', ChromeTabs)\n```\n\n**⚠️ A css file is included when importing the package. You may have to setup your bundler to embed the css in your page.**\n\n## Distribution import\n\nInstall all the components:\n\n```javascript\nimport 'vue-chrome-tabs/dist/vue-chrome-tabs.css'\nimport VueChromeTabs from 'vue-chrome-tabs/dist/vue-chrome-tabs.common'\n\nVue.use(VueChromeTabs)\n```\n\nUse specific components:\n\n```javascript\nimport 'vue-chrome-tabs/dist/vue-chrome-tabs.css'\nimport { ChromeTabs } from 'vue-chrome-tabs/dist/vue-chrome-tabs.common'\n\nVue.component('chrome-tabs', ChromeTabs)\n```\n\n**⚠️ You may have to setup your bundler to embed the css file in your page.**\n\n## Browser\n\n```html\n\u003clink rel=\"stylesheet\" href=\"vue-chrome-tabs/dist/vue-chrome-tabs.css\"/\u003e\n\n\u003cscript src=\"vue.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"vue-chrome-tabs/dist/vue-chrome-tabs.browser.js\"\u003e\u003c/script\u003e\n```\n\nThe plugin should be auto-installed. If not, you can install it manually with the instructions below.\n\nInstall all the components:\n\n```javascript\nVue.use(VueChromeTabs)\n```\n\nUse specific components:\n\n```javascript\nVue.component('chrome-tabs', VueChromeTabs.ChromeTabs)\n```\n\n## Source import\n\nInstall all the components:\n\n```javascript\nimport Vue from 'vue'\nimport VueChromeTabs from 'vue-chrome-tabs/src'\n\nVue.use(VueChromeTabs)\n```\n\nUse specific components:\n\n```javascript\nimport Vue from 'vue'\nimport { ChromeTabs } from 'vue-chrome-tabs/src'\n\nVue.component('chrome-tabs', ChromeTabs)\n```\n\n**⚠️ You need to configure your bundler to compile `.vue` files.** More info [in the official documentation](https://vuejs.org/v2/guide/single-file-components.html).\n\n# Usage\n\n\u003e TODO\n\n# Example\n\n\u003e TODO\n\n---\n\n# Plugin Development\n\n## Installation\n\nThe first time you create or clone your plugin, you need to install the default dependencies:\n\n```\nnpm install\n```\n\n## Watch and compile\n\nThis will run webpack in watching mode and output the compiled files in the `dist` folder.\n\n```\nnpm run dev\n```\n\n## Use it in another project\n\nWhile developping, you can follow the install instructions of your plugin and link it into the project that uses it.\n\nIn the plugin folder:\n\n```\nnpm link\n```\n\nIn the other project folder:\n\n```\nnpm link vue-chrome-tabs\n```\n\nThis will install it in the dependencies as a symlink, so that it gets any modifications made to the plugin.\n\n## Publish to npm\n\nYou may have to login to npm before, with `npm adduser`. The plugin will be built in production mode before getting published on npm.\n\n```\nnpm publish\n```\n\n## Manual build\n\nThis will build the plugin into the `dist` folder in production mode.\n\n```\nnpm run build\n```\n\n---\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenull%2Fvue-chrome-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenull%2Fvue-chrome-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenull%2Fvue-chrome-tabs/lists"}