芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/resources/js/Admin/app.jsx
import '../bootstrap'; import { createRoot } from 'react-dom/client'; import { createInertiaApp } from '@inertiajs/react'; import {Provider} from "react-redux"; import { store } from "@/Redux/app/store.js"; const appName = window.document.getElementsByTagName('title')[0]?.innerText || 'Laravel'; createInertiaApp({ title: (title) => `${title} - ${appName}`, resolve: (name) => require(`./Pages/${name}.jsx`), setup({ el, App, props }) { const root = createRoot(el); root.render(
); }, progress: { color: '#fa4a17', }, });