feat: pwa manifest file and service worker
This commit is contained in:
+2
-1
@@ -2,11 +2,11 @@
|
||||
import ReactDOM from "react-dom/client";
|
||||
import { Toaster } from "react-hot-toast";
|
||||
import { Reset } from "styled-reset";
|
||||
|
||||
import { DndProvider } from "react-dnd";
|
||||
import { HTML5Backend } from "react-dnd-html5-backend";
|
||||
import "./assets/vars.css";
|
||||
import "animate.css";
|
||||
import * as serviceWorkerRegistration from "./serviceWorkerRegistration";
|
||||
import MarkdownStyleOverride from "./common/component/MarkdownStyleOverride";
|
||||
import ReduxRoutes from "./routes";
|
||||
const root = ReactDOM.createRoot(document.getElementById("root"));
|
||||
@@ -20,3 +20,4 @@ root.render(
|
||||
<MarkdownStyleOverride />
|
||||
</>
|
||||
);
|
||||
serviceWorkerRegistration.register();
|
||||
|
||||
Reference in New Issue
Block a user