mvneerven / pure-pwa Goto Github PK
View Code? Open in Web Editor NEWUltra-lean, Web Components enhanced, no-build, no-dependencies boilerplate for PWAs
Home Page: https://www.pure-pwa.com/
Ultra-lean, Web Components enhanced, no-build, no-dependencies boilerplate for PWAs
Home Page: https://www.pure-pwa.com/
navigation.addEventListener("navigate", ... doesn't work on Safari. See https://developer.mozilla.org/en-US/docs/Web/API/Navigation/navigate_event.
Workaround/polyfill needed.
connectedCallback() {
const input = this.querySelector("input")
Maar de connectedCallback
vuurt op de opening tag,
dus er is nog geen <input>
wanneer de Web Component is gedefinieerd voordat de DOM is geparsed
app.scss not compiled to css due to missing files causing the demo to break (no css)
referenced here as well
There's no proper handling of user input to protect from XSS attacks.
i cloned this repository. but getting this error
" Refused to apply style from 'http://localhost:8766/assets/css/app.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled."
app.css file not available in this project thats why showing error
The hamburger menu is closed as a consequence of switching to portrait mode, since it is only valid for landscape mode.
The hamburger menu is resized to the full size of the display.
The automatic update notification, controlled by the ServiceWorker, doesn't work when a new cache version is available.
Watching the website in chrome on android, then the scrolling is not working nicely
This doesn't happen when the user has set dark mode.
Add task shows a toaster message. However, the task list is not updated.
Hi Marc,
Trying out your pure-pwa here on a Mac. I chose to use node and have it all running in a few minutes with no changes
But I experienced two errors:
The folder and file ./public/css/app.css is called but does not exist in the branch. I found it on the demo site and patched it in from there and that resolved that.
Now when I execute the /home view - it comes up perfectly, but in the console I get this:
Uncaught (in promise) TypeError: Failed to execute 'addAll' on 'Cache': Request failed
Appears in code block starting at line 63 of service-worker:
self.addEventListener("install", (event) => {
event.waitUntil(
caches.open(CACHE_NAME).then((cache) => {
return cache.addAll(app.files);
})
);
console.log(CACHE_NAME, "cached");
});
I have not dug any deeper yet but wanted to get any feedback you might have!
PWA's Rock!
Best,
Drew Anderson
vCTO
http://caratvp.com
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.