✨(frontend) add offline mode support
Add a offline mode support from a service worker. The service worker will cache the assets and the visited pages to be able to work offline. Created a fallback page for when the user is offline and tries to access a page that is not cached.
This commit is contained in:
@@ -10,5 +10,5 @@ module.exports = {
|
||||
rootDir: __dirname,
|
||||
},
|
||||
},
|
||||
ignorePatterns: ['node_modules', '.eslintrc.js'],
|
||||
ignorePatterns: ['node_modules', '.eslintrc.js', 'service-worker.js'],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user