dreamofabear / amp-pwa Goto Github PK
View Code? Open in Web Editor NEWA sample React PWA with AMP content.
A sample React PWA with AMP content.
Uncaught Error: No ampdoc found for [object HTMLElement]
at sa (https://cdn.ampproject.org/shadow-v0.js:9:358)
at qa.f.createError (https://cdn.ampproject.org/shadow-v0.js:6:36)
at tf.getAmpDoc (https://cdn.ampproject.org/shadow-v0.js:134:512)
at HTMLElement.Wf.b.connectedCallback (https://cdn.ampproject.org/shadow-v0.js:166:442)
at https://cdn.ampproject.org/rtv/001493142602549/v0/amp-carousel-0.1.js:22:318
at Array.forEach (native)
at Q.push.f.f.buildSlides (https://cdn.ampproject.org/rtv/001493142602549/v0/amp-carousel-0.1.js:22:142)
at Q.push.f.f.buildCarousel (https://cdn.ampproject.org/rtv/001493142602549/v0/amp-carousel-0.1.js:16:326)
at Q.push.f.f.buildCallback (https://cdn.ampproject.org/rtv/001493142602549/v0/amp-carousel-0.1.js:11:465)
at HTMLElement.Wf.b.build (https://cdn.ampproject.org/shadow-v0.js:161:514)
custom-element.js:1052 Uncaught TypeError: Cannot read property 'remove' of null
at HTMLElement.Wf.b.disconnectedCallback (https://cdn.ampproject.org/shadow-v0.js:173:21)
at https://cdn.ampproject.org/rtv/001493142602549/v0/amp-carousel-0.1.js:22:318
at Array.forEach (native)
at Q.push.f.f.buildSlides (https://cdn.ampproject.org/rtv/001493142602549/v0/amp-carousel-0.1.js:22:142)
at Q.push.f.f.buildCarousel (https://cdn.ampproject.org/rtv/001493142602549/v0/amp-carousel-0.1.js:16:326)
at Q.push.f.f.buildCallback (https://cdn.ampproject.org/rtv/001493142602549/v0/amp-carousel-0.1.js:11:465)
at HTMLElement.Wf.b.build (https://cdn.ampproject.org/shadow-v0.js:161:514)
at Wg.f.build (https://cdn.ampproject.org/shadow-v0.js:233:151)
at fh (https://cdn.ampproject.org/shadow-v0.js:254:244)
at jh (https://cdn.ampproject.org/shadow-v0.js:253:453)
Hi,
I am having issue with images not showing up. It seems like issues with creating build
folder that does not include images from content/hero
folder.
Let me know if you will be able to help me with that?
Cheers,
A (recent?) change in AMP Shadow API causes errors when a shadow root node is reused for multiple docs.
Optimize the following images to reduce their size by 20MiB (79% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/6.jpeg could save 1.3MiB (83% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/5.jpeg could save 1.1MiB (82% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/20.jpeg could save 1MiB (78% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/15.jpeg could save 984.3KiB (77% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/22.jpeg could save 982.7KiB (86% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/7.jpeg could save 912.9KiB (77% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/27.jpeg could save 875.1KiB (77% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/19.jpeg could save 861.2KiB (86% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/21.jpeg could save 852.9KiB (91% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/1.jpeg could save 796.4KiB (80% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/17.jpeg could save 773.7KiB (89% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/12.jpeg could save 744.9KiB (74% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/16.jpeg could save 744.2KiB (74% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/28.jpeg could save 740.4KiB (90% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/29.jpeg could save 686KiB (73% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/2.jpeg could save 655.8KiB (75% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/9.jpeg could save 644.2KiB (80% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/24.jpeg could save 621.4KiB (79% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/18.jpeg could save 582.1KiB (77% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/3.jpeg could save 543.2KiB (73% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/23.jpeg could save 530.1KiB (75% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/13.jpeg could save 523.5KiB (77% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/14.jpeg could save 461.1KiB (71% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/11.jpeg could save 422.3KiB (65% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/25.jpeg could save 406.4KiB (75% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/26.jpeg could save 398.2KiB (81% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/8.jpeg could save 392.7KiB (69% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/10.jpeg could save 359.5KiB (81% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/4.jpeg could save 301.8KiB (72% reduction).
Compressing https://choumx.github.io/amp-pwa/content/hero/30.jpeg could save 232.5KiB (67% reduction).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.