marko-amp

    1.0.3 • Public • Published

    marko-amp

    Accelerated Mobile Pages taglib for MarkoJS

    Usage

    This library allows you to author a Marko template using Accelerated Mobile Pages tags that will be rendering depending on out.global.amp flag either to themthelves or to analog HTML tags. It's a work in progress.

    We will implement only tags that have minimal or none runtime functionality as this taglibs aims to allow generating either AMP or HTML version of the page from the same Marko template.

    Currently implemented tags

    • <amp-boilerplate> - must be inserted into <head> of the template
    • <amp-img>
    • <amp-video> - must be accompained by <amp-boilerplate> in the document <head> to correctly inject required script loader

    Install

    npm i marko-amp

    DownloadsWeekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    9.2 kB

    Total Files

    10

    Last publish

    Collaborators

    • tinovyatkin