mirror of
https://github.com/usememos/memos.git
synced 2025-02-23 14:47:44 +01:00
18 lines
458 B
TypeScript
18 lines
458 B
TypeScript
import { createRoot } from "react-dom/client";
|
|
import { Provider } from "react-redux";
|
|
import store from "./store";
|
|
import App from "./App";
|
|
import "./i18n";
|
|
import "./helpers/polyfill";
|
|
import "highlight.js/styles/github.css";
|
|
import "./less/global.less";
|
|
import "./css/tailwind.css";
|
|
|
|
const container = document.getElementById("root");
|
|
const root = createRoot(container as HTMLElement);
|
|
root.render(
|
|
<Provider store={store}>
|
|
<App />
|
|
</Provider>
|
|
);
|