Enter the command below.
$ node server.js
Enter the command in dev console.
AMP.toggleExperiment('amp-script')
Access http://localhost:3030
- amp-script
https://amp.dev/documentation/components/amp-script/ - CORS in AMP
https://amp.dev/documentation/guides-and-tutorials/learn/amp-caches-and-cors/amp-cors-requests/ - AMP で任意の JS を実行できる amp-script を試してみた
https://qiita.com/mizchi/items/c7d648eafb03d4c5378a