Wire admin studio SSR and search infrastructure

This commit is contained in:
2026-05-01 11:46:06 +02:00
parent 257b0dbef6
commit 18cea8b0f0
329 changed files with 197465 additions and 2741 deletions

View File

@@ -1,6 +1,5 @@
import './bootstrap'
import { mountInertiaRoot } from './bootstrap'
import React from 'react'
import { createRoot } from 'react-dom/client'
import { createInertiaApp } from '@inertiajs/react'
const pages = import.meta.glob([
'./Pages/Studio/**/*.jsx',
@@ -22,7 +21,6 @@ function resolvePage(name) {
createInertiaApp({
resolve: resolvePage,
setup({ el, App, props }) {
const root = createRoot(el)
root.render(<App {...props} />)
mountInertiaRoot(el, App, props)
},
})