17 lines
368 B
JavaScript
17 lines
368 B
JavaScript
import { mountInertiaRoot } from './bootstrap'
|
|
import React from 'react'
|
|
import { createInertiaApp } from '@inertiajs/react'
|
|
|
|
import ProfileEdit from './Pages/Settings/ProfileEdit'
|
|
|
|
const pages = {
|
|
'Settings/ProfileEdit': ProfileEdit,
|
|
}
|
|
|
|
createInertiaApp({
|
|
resolve: (name) => pages[name],
|
|
setup({ el, App, props }) {
|
|
mountInertiaRoot(el, App, props)
|
|
},
|
|
})
|