laradock/react/src/index.js

13 lines
276 B
JavaScript
Raw Normal View History

2020-11-17 00:14:34 +08:00
import React from "react";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
import store from "./store";
import ThemeApp from "./Theme";
ReactDOM.render(
<Provider store={store}>
<ThemeApp />
</Provider>,
document.querySelector('#root')
);