V
V
Vladislav Kh2017-12-25 14:47:34
Accelerated Mobile Pages
Vladislav Kh, 2017-12-25 14:47:34

How to add custom script to AMP?

Actually the essence of the question is clear)

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

How to add main.js and eliminate the error
02ef0ef2.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolay, 2017-12-25
@cobr3n

Use only scripts from amp. Everything else is inline in the document.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question