архитектура добавления элементов, список эталонов
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
import ReactDOM from "react-dom/client";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import { Provider } from "react-redux";
|
||||
import { store } from "@/app/store";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import { Provider } from "react-redux";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
|
||||
import { initializeElementRegistry } from '../lib/element-registry-init';
|
||||
import App from "./App.tsx";
|
||||
import "./index.css";
|
||||
|
||||
// Инициализируем реестр элементов
|
||||
initializeElementRegistry();
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
<BrowserRouter>
|
||||
<Provider store={store}>
|
||||
|
||||
Reference in New Issue
Block a user