Skip to content

Commit

Permalink
feat(pwa): offline availability
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelin committed Nov 13, 2019
1 parent 853ff16 commit fbc0ec6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "ambianic-ui",
"version": "1.2.0",
"description": "Ambianic UI is the main user interface to Ambianic Edge deployments.",
"license": "Apache 2",
"homepage": "https://ambianic.ai",
"private": false,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
],
"start_url": "/index.html",
"display": "standalone",
"background_color": "179AFF",
"background_color": "#179AFF",
"theme_color": "#179aff"
}
2 changes: 1 addition & 1 deletion public/sample-data/timeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"inference_result": [
{
"box": {
"xmax": 0.9721757173538208,
"xmax": 0.6721757173538208,
"xmin": 0.021595627069473267,
"ymax": 0.986437976360321,
"ymin": 0.0865514874458313
Expand Down
7 changes: 7 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ module.exports = {
'themeColor': '#179aff',
'msTileColor': '#179aff',
'appleMobileWebAppCapable': 'yes',
'iconPaths': {
favicon32: 'img/icons/favicon-32x32.png',
favicon16: 'img/icons/favicon-16x16.png',
appleTouchIcon: 'img/icons/apple-touch-icon-152x152.png',
maskIcon: 'img/icons/safari-pinned-tab.svg',
msTileImage: 'img/icons/msapplication-icon-144x144.png'
},
'workboxPluginMode': 'GenerateSW',
'workboxOptions': {
'runtimeCaching': [
Expand Down

0 comments on commit fbc0ec6

Please sign in to comment.