🎨 style(new!): add new ui vue.js

Signed-off-by: Abhiraj Roy <157954129+iconized@users.noreply.github.com>
This commit is contained in:
Abhiraj Roy
2024-06-05 04:26:16 +05:30
parent 4878325171
commit 5f4ddc3090
110 changed files with 9442 additions and 0 deletions

29
public/worker.js Normal file
View File

@@ -0,0 +1,29 @@
console.log('Service worker file loaded.')
/**
* * FETCH event
* ? It is triggered when the browser is requesting a resource
* TODO: Add the logic to handle the request (investigate best practices and options)
*/
self.addEventListener("fetch", (event) => {
/* event
.respondWith(
console.log('fetching!'),
); */
});
/**
* * INSTALL event
* * It is triggered when the service worker has been installed
* ? It is the best place to cache the app
* TODO: Add the resources to cache
*/
self.addEventListener("install", (event) => {
console.log('Installing service worker...')
/*
event.waitUntil(
// ...
);
*/
});