feat: Aggiunto barra di avanzamento della pagina

This commit is contained in:
Maicol Battistini 2021-09-10 16:53:40 +02:00
parent 1d2f491119
commit d5a627658a
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@
},
"dependencies": {
"@inertiajs/inertia": "^0.10.1",
"@inertiajs/progress": "^0.2.6",
"@maicol07/inertia-mithril": "^0.4",
"@material/card": "^12.0.0",
"@material/data-table": "^12.0.0",

3
resources/js/app.js vendored
View File

@ -1,6 +1,7 @@
import '../scss/app.scss';
import './_material';
import {InertiaProgress} from '@inertiajs/progress';
import {createInertiaApp} from '@maicol07/inertia-mithril';
import {waitUntil} from 'async-wait-until';
import jQuery from 'jquery';
@ -14,6 +15,8 @@ window.$ = jQuery;
window.jQuery = jQuery;
window.m = m;
InertiaProgress.init();
// noinspection JSIgnoredPromiseFromCall
createInertiaApp({
title: title => `${title} - OpenSTAManager`,