1.0.5 • Published 6 years ago

vue-amp-shadow v1.0.5

Weekly downloads
9
License
MIT
Repository
github
Last release
6 years ago

vue-amp-shadow

Build Status License: MIT

Installation

NPM

Package is installable via NPM

npm install --save vue-amp-shadow

or via Yarn

yarn add vue-amp-shadow

Usage

1. Include Shadow AMP in the \<head> of your page

<head>
  ...
  <script async src="https://cdn.ampproject.org/shadow-v0.js"></script>
  ...
</head>

learn more

2. Mount with component

import VueAmpShadow from "vue-amp-shadow";

export default {
  ...
  components: {
    VueAmpShadow
  }
  ...
};
<!--
  Set "src" prop to an AMP document URL.
  If it's on a different domain, it must be CORS enabled.
-->
<vue-amp-shadow src="https://ampbyexample.com"></vue-amp-shadow>
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago