MVP, working sentry scraper

This commit is contained in:
Mike Conrad
2025-05-18 20:44:42 -04:00
parent a34b0899ce
commit 8ea49772df
29 changed files with 724 additions and 481 deletions

View File

@ -1,7 +1,7 @@
/// <reference path="../../adonisrc.ts" />
/// <reference path="../../config/inertia.ts" />
import '../css/app.css';
import '../css/app.css'
import { createSSRApp, h } from 'vue'
import type { DefineComponent } from 'vue'
import { createInertiaApp } from '@inertiajs/vue3'
@ -17,15 +17,13 @@ createInertiaApp({
resolve: (name) => {
return resolvePageComponent(
`../pages/${name}.vue`,
import.meta.glob<DefineComponent>('../pages/**/*.vue'),
import.meta.glob<DefineComponent>('../pages/**/*.vue')
)
},
setup({ el, App, props, plugin }) {
createSSRApp({ render: () => h(App, props) })
.use(plugin)
.mount(el)
},
})
})

View File

@ -1,4 +1,3 @@
import { createInertiaApp } from '@inertiajs/vue3'
import { renderToString } from '@vue/server-renderer'
import { createSSRApp, h, type DefineComponent } from 'vue'
@ -16,4 +15,4 @@ export default function render(page: any) {
return createSSRApp({ render: () => h(App, props) }).use(plugin)
},
})
}
}