{"id":18339864,"url":"https://github.com/rnkit/vue-inject-js","last_synced_at":"2025-04-06T05:32:22.269Z","repository":{"id":135844810,"uuid":"102632077","full_name":"rnkit/vue-inject-js","owner":"rnkit","description":"Inject Remote Js For Vue.js","archived":false,"fork":false,"pushed_at":"2017-09-06T17:09:02.000Z","size":55,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T17:02:06.627Z","etag":null,"topics":["component","vue","vuejs2"],"latest_commit_sha":null,"homepage":null,"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/rnkit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-06T16:26:10.000Z","updated_at":"2019-07-02T02:16:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0ae7675-176d-46bb-b733-361b47cc0a67","html_url":"https://github.com/rnkit/vue-inject-js","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"17ef083c47bd6a0f5e18bb598562c120eaaa5c1a"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnkit%2Fvue-inject-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnkit%2Fvue-inject-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnkit%2Fvue-inject-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnkit%2Fvue-inject-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnkit","download_url":"https://codeload.github.com/rnkit/vue-inject-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247440617,"owners_count":20939223,"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":["component","vue","vuejs2"],"created_at":"2024-11-05T20:19:39.649Z","updated_at":"2025-04-06T05:32:22.243Z","avatar_url":"https://github.com/rnkit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Inject Js\n\nInject Remote Js For Vue.js 2.\n\n[![npm](https://img.shields.io/npm/dm/vue-inject-js.svg)](https://www.npmjs.com/package/vue-inject-js)\n[![npm](https://img.shields.io/npm/v/vue-inject-js.svg)](https://www.npmjs.com/package/vue-inject-js)\n[![npm](https://img.shields.io/npm/l/vue-inject-js.svg)](https://www.npmjs.com/package/vue-inject-js)\n[![GitHub pull requests](https://img.shields.io/badge/PR-welcome-green.svg)]()\n[![GitHub stars](https://img.shields.io/github/stars/rnkit/vue-inject-js.svg?style=social\u0026label=Star)]()\n\n## Installation\n\nSelect one option:\n\n1. Install using **npm**\n\n  ```sh\n  npm install vue-inject-js --save\n  ```\n  You can omit the `--save` option if using `npm@^5`.\n\n  You can also use Yarn as:\n\n  ```sh\n  yarn add vue-inject-js\n  ```\n\n  In your JavaScript file:\n\n  ```js\n  import VueInjectJs from 'vue-inject-js'\n  ```\n\n  \\- or -\n\n  ```js\n  var VueInjectJs = require('vue-inject-js')\n  ```\n\n2. Embed script tag\n\n  ```html\n  \u003cscript src=\"https://unpkg.com/vue-inject-js/dist/vue-inject-js.min.js\"\u003e\u003c/script\u003e\n  ```\n\nThen register the component into Vue:\n\n```js\nVue.use(VueInjectJs)\n```\n\n## Documentation\n\nUsing Inject Js is easy. The HTML code you need is the following:\n\n```html\n\u003cVueInjectJs src=\"https://unpkg.com/jquery@3.2.1/dist/jquery.js\"/\u003e\n```\n\nAnd no JS code is needed whatsoever, Inject Js works out of the box.\n\n### Props\n\nThe component needs some configuration, though. It's only one required option, so it remains pretty simple.\n\n| Prop | Description | Type | Default |\n|------|-------------|------|---------|\n| src | Remote Javascript source that will be loaded. | String | _required_ |\n\n\nCheck out [changelog](CHANGELOG.md) file.\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\n## Contribution\n\n- [@simamn](mailto:liwei0990@gmail.com) The main author.\n\n## Questions\n\nFeel free to [contact me](mailto:liwei0990@gmail.com) or [create an issue](https://github.com/rnkit/vue-inject-js/issues/new)\n\n\u003e made with ♥\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnkit%2Fvue-inject-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnkit%2Fvue-inject-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnkit%2Fvue-inject-js/lists"}