mirror of
https://github.com/neosubhamoy/neodlp-extension.git
synced 2025-12-20 02:59:33 +05:30
(chore): initial MVP release v0.1.0
This commit is contained in:
21
entrypoints/popup/main.tsx
Normal file
21
entrypoints/popup/main.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import App from '@/entrypoints/popup/App.tsx';
|
||||
import '@/entrypoints/popup/style.css';
|
||||
import { HashRouter, Routes, Route } from "react-router-dom";
|
||||
import RootLayout from '@/pages/layout/root';
|
||||
import HomePage from '@/pages/home';
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
<React.StrictMode>
|
||||
<HashRouter>
|
||||
<App>
|
||||
<Routes>
|
||||
<Route path="/" element={<RootLayout />}>
|
||||
<Route index element={<HomePage />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
</App>
|
||||
</HashRouter>
|
||||
</React.StrictMode>,
|
||||
);
|
||||
Reference in New Issue
Block a user