feat(dashboard): add price history, caching, and i18n

This commit is contained in:
2026-08-01 21:21:43 +02:00
parent 1cd905ca4a
commit 7fb49131c4
22 changed files with 177 additions and 30 deletions
+8
View File
@@ -1,5 +1,7 @@
import { createInertiaApp } from '@inertiajs/vue3';
import { DefineComponent } from 'vue';
import Layout from './layouts/Layout.vue';
import { init } from './lang/init.js';
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
@@ -8,6 +10,9 @@ createInertiaApp({
progress: {
color: '#4B5563',
},
layout(name, page) {
return Layout;
},
resolve(name) {
const pages = import.meta.glob<DefineComponent>(
['./features/*/pages/*.vue', './pages/*.vue'],
@@ -26,4 +31,7 @@ createInertiaApp({
return pages[`./pages/${name}.vue`];
},
async withApp(app, options) {
await init;
},
});