[Refactor] Move to src-ui/views and src-ui/logics structure.
This commit is contained in:
17
src-ui/views/app/index.jsx
Normal file
17
src-ui/views/app/index.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import "@root/locales/config.js";
|
||||
import "./_index_css/root.css";
|
||||
import { getCurrentWindow } from "@tauri-apps/api/window";
|
||||
|
||||
import { store } from "@store";
|
||||
|
||||
store.appWindow = getCurrentWindow();
|
||||
|
||||
import { App } from "./App";
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root")).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
);
|
||||
Reference in New Issue
Block a user