{"id":44728138,"url":"https://github.com/yukagil/vue-amp-shadow","last_synced_at":"2026-02-15T18:01:43.846Z","repository":{"id":57394442,"uuid":"122036474","full_name":"yukagil/vue-amp-shadow","owner":"yukagil","description":"A Vue component that takes an AMP document URL as input and renders it.","archived":false,"fork":false,"pushed_at":"2018-05-11T08:51:16.000Z","size":22,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-02T11:43:19.604Z","etag":null,"topics":["amp","javascript","shadow-dom","vuejs"],"latest_commit_sha":null,"homepage":"","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/yukagil.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}},"created_at":"2018-02-19T08:37:38.000Z","updated_at":"2019-03-25T00:52:57.000Z","dependencies_parsed_at":"2022-09-10T03:42:39.257Z","dependency_job_id":null,"html_url":"https://github.com/yukagil/vue-amp-shadow","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/yukagil/vue-amp-shadow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukagil%2Fvue-amp-shadow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukagil%2Fvue-amp-shadow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukagil%2Fvue-amp-shadow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukagil%2Fvue-amp-shadow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yukagil","download_url":"https://codeload.github.com/yukagil/vue-amp-shadow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukagil%2Fvue-amp-shadow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29486053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"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":["amp","javascript","shadow-dom","vuejs"],"created_at":"2026-02-15T18:01:43.114Z","updated_at":"2026-02-15T18:01:43.841Z","avatar_url":"https://github.com/yukagil.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-amp-shadow\n\n[![Build Status](https://travis-ci.org/yukagil/vue-amp-shadow.svg?branch=master)](https://travis-ci.org/yukagil/vue-amp-shadow)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n# Installation\n[![NPM](https://nodei.co/npm/vue-amp-shadow.png)](https://nodei.co/npm/vue-amp-shadow/)\n\nPackage is installable via NPM\n```\nnpm install --save vue-amp-shadow\n```\nor via Yarn\n```\nyarn add vue-amp-shadow\n```\n\n\n# Usage\n## 1. Include Shadow AMP in the \\\u003chead\\\u003e of your page\n```html\n\u003chead\u003e\n  ...\n  \u003cscript async src=\"https://cdn.ampproject.org/shadow-v0.js\"\u003e\u003c/script\u003e\n  ...\n\u003c/head\u003e\n```\n[learn more](https://www.ampproject.org/docs/guides/pwa-amp/amp-in-pwa#include-\"shadow-amp\"-in-your-progressive-web-app)\n\n## 2. Mount with component\n\n```js\nimport VueAmpShadow from \"vue-amp-shadow\";\n\nexport default {\n  ...\n  components: {\n    VueAmpShadow\n  }\n  ...\n};\n```\n\n```html\n\u003c!--\n  Set \"src\" prop to an AMP document URL.\n  If it's on a different domain, it must be CORS enabled.\n--\u003e\n\u003cvue-amp-shadow src=\"https://ampbyexample.com\"\u003e\u003c/vue-amp-shadow\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukagil%2Fvue-amp-shadow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyukagil%2Fvue-amp-shadow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukagil%2Fvue-amp-shadow/lists"}