zuixjs / zuix-html-pwa Goto Github PK
View Code? Open in Web Editor NEWProgressive Web App template with a responsive, touch-first layout.
Home Page: https://zuixjs.github.io/zuix-html-pwa/
License: MIT License
Progressive Web App template with a responsive, touch-first layout.
Home Page: https://zuixjs.github.io/zuix-html-pwa/
License: MIT License
I have tryed to run itlocally with npm run start and also with nodejs /express.
But after checking the (Chrome F12 - Application ) It is not registred.
Here I am running it with Node server.js
See eg http://cb-dev1.northeurope.cloudapp.azure.com:3003 .
See forked repo https://github.com/patriklindstrom/zuix-html-pwa/tree/feature/restyle
May adding the possibilty to load json
data-o-json="http://mywebsite/myjsonfile.json"></div>
with the same structure as rss, title, description, url ect.
Hi - great template!
...I am making use of Firestore (google cloud platform) for authentication and some other data elements for this app.
When the user has an active session, it emits a Firestore event (onAuthStateChanged). I have functions for Firestore in index.js ..When this onAuthStateChanged
event is emitted, it alters content and calls functions on subsequent pages and components that zuix handles.
For example onAuthStateChanged
emits because the user is logged in and can see specific content.
It appears that the Firestore onAuthStateChanged
event is emitted BEFORE some of my javascript for sub-pages is finished loading. I am loading those pages like so:
<section data-ui-load="pages/profile" data-ui-options="options.profilePage"></section>
So I get errors like TypeError: Cannot read properties of undefined (reading 'setupMainMenuUI')
(which is a function inside of profile.js); I'm assuming it's not available yet because the onAuthStateChanged emits BEFORE the profile page is done loading.
Is there a way to emit an event AFTER all the pages (html, css, and js) are loaded so that I can then define actions for Firestore? (or any tips on how to handle this?)
Thanks!
Hi - great template! I've read the documentation and I believe I understand how to POST data to a server, but I'm not sure I understand how to render the results back to the users.
Now, when my function gets the results back, how can i push those results/data to a new page or view to be rendered to the screen?
Any examples or pointers would be greatly appreciated! Thanks!
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.