Search code examples
angularsingle-page-applicationamp-html

Is AMP ( Accelerated Mobile Pages ) compatible with angular2?


i'm developping angular 2 SPA.. I'm asking for the compatibility between angular 2 and AMP and how to implement it. Thanks,


Solution

  • No, JavaScript code not provided by the AMP Project can not be on your AMP page. Though, depending on what you're doing, you could use <amp-iframe>