1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 15:27:43 +01:00
Maicol Battistini b5adc2654e
build: Autoloading di jQuery e Mithril eseguito da Laravel Mix
L'autoloading di jQuery e di Mithril (variabili globali) è ora eseguito da Laravel Mix
2021-08-19 17:47:20 +02:00

13 lines
325 B
JavaScript
Vendored

import m from 'mithril';
import {createInertiaApp} from '@maicol07/inertia-mithril';
import './_material';
// noinspection JSIgnoredPromiseFromCall
createInertiaApp({
title: (title) => `${title} - OpenStaManager`,
resolve: async (name) => import(`./Views/${name}`),
setup({ el, app }) {
m.mount(el, app);
},
});