-
Notifications
You must be signed in to change notification settings - Fork 11
Service Worker (offline) support #29
Comments
Cool, let me explain how things are structured right now. There are two projects:
Both are static applications, the first one is hosted on Firebase and the second one is hosted on GitHub Pages. The reason why they are separated is because on Electron I can just load the app URL and forget about the landing page. Firebase is being used to store user data: {
"columns": [
{
"payload": "addyosmani",
"type": "Home"
},
{
"payload": "addyosmani",
"type": "User"
},
{
"payload": "polymerelements/polymer-starter-kit",
"type": "Repository"
}
],
"settings": {
"columnSize": "column-medium",
"fontSize": "font-medium",
"theme": "dark"
}
} That script you asked about is a third-party thing that I use to track navigation (https://www.inspectlet.com/). I'm ok with using sw-precache and sw-toolbox. Until now, I haven't spend much time optimizing the app's performance, so feel free to send a PR and suggest anything. |
👍 Will try to find time this week to study the source more closely and put something together :) |
I decided to give it a shot on the landing page which is way easier than this. Could you take a look? https://github.com/zenorocha/devspace.io/commit/9e99b094fec7d02c7f38ddb55caf5cb391c6788e |
Is there currently a way to build a version of the app locally that doesn't run through Electron? :) Or when you're developing do you mostly use Electron and DevTools there for debugging? Figuring out your flow so I don't mess up your build system when adding this :) |
The text was updated successfully, but these errors were encountered: