Is AMP ( Accelerated Mobile Pages ) compatible with angular2?

2.8k Views Asked by At

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

2

There are 2 best solutions below

0
On BEST ANSWER

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>

0
On

It could become very relevant soon, once universal is more mature. It could be used to generate a static AMP version of your page.