Hi,
I do not know if you got it working... but yesterday I implemented it. The only thing I could not get to work is the QItem to go to an router address or any address.
app.js
require('./bootstrap');
// Import modules...
import { createApp, h } from 'vue';
import { App as InertiaApp, plugin as InertiaPlugin } from '@inertiajs/inertia-vue3';
import { InertiaProgress } from '@inertiajs/progress';
import { Quasar } from 'quasar'
import quasarUserOptions from './quasar-user-options'
let timeout = null
const el = document.getElementById('app');
createApp({
render: () =>
h(InertiaApp, {
initialPage: JSON.parse(el.dataset.page),
resolveComponent: name => import(`@/Pages/${name}`).then(m => m.default),
}),
})
.mixin({ methods: {
route: window.route,
title: title => `intelliDOC- ${title}`,
}})
.use(InertiaPlugin)
.use(Quasar)
// .use(Notify)
.mount(el);
InertiaProgress.init({ color: '#1DB24B', showSpinner: true });
quasar-user-options
import '../styles/quasar.sass'
import '@quasar/extras/material-icons/material-icons.css'
import '@quasar/extras/fontawesome-v5/fontawesome-v5.css'
// To be used on app.use(Quasar, { ... })
export default {
config: {},
plugins: {
}
}
package.json
"@quasar/extras": "^1.0.0",
"quasar": "^2.0.0-beta.16",