mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 15:27:43 +01:00
14 lines
348 B
JavaScript
Vendored
14 lines
348 B
JavaScript
Vendored
import m from 'mithril';
|
|
import {createInertiaApp} from '@maicol07/inertia-mithril';
|
|
|
|
const app = document.getElementById('app');
|
|
|
|
// noinspection JSIgnoredPromiseFromCall
|
|
createInertiaApp({
|
|
title: (title) => `${title} - OpenStaManager`,
|
|
resolve: async (name) => import(`./Views/${name}`),
|
|
setup({ el, app }) {
|
|
m.mount(el, app);
|
|
},
|
|
});
|