1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-23 14:57:46 +01:00

feat(frontend): Aggiunti dati di InertiaJS sulla pagina alla classe di Mithril

This commit is contained in:
Maicol Battistini 2021-08-03 18:43:06 +02:00
parent 402ed5e69b
commit 2461e5fa5a
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A

View File

@ -5,4 +5,6 @@ import Component from './Component';
*
* @abstract
*/
export default class Page extends Component {}
export default class Page extends Component {
page = JSON.parse($('#app').attr('data-page'));
}