We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import Toaster from "@meforma/vue-toaster"; createInertiaApp({ title: (title) => ${title} - ${appName}, resolve: (name) => resolvePageComponent(./Pages/${name}.vue, import.meta.glob('./Pages/**/*.vue')), setup({ el, App, props, plugin }) { return createApp({ render: () => h(App, props) }) .use(plugin) .use(Toaster) .use(ZiggyVue) .mount(el); },
${title} - ${appName}
./Pages/${name}.vue
Hey! I'm here
Import inside vue file works fine , import from app.js not working // Laravel , Vue3 , InertiaJs , ViteJs
The text was updated successfully, but these errors were encountered:
No branches or pull requests
import Toaster from "@meforma/vue-toaster";
createInertiaApp({
title: (title) =>
${title} - ${appName}
,resolve: (name) => resolvePageComponent(
./Pages/${name}.vue
, import.meta.glob('./Pages/**/*.vue')),setup({ el, App, props, plugin }) {
return createApp({ render: () => h(App, props) })
.use(plugin)
.use(Toaster)
.use(ZiggyVue)
.mount(el);
},
Vue File :
Tried
toast.show(
Hey! I'm here
);this.$toast.show(
Hey! I'm here
);Error : toast is not defined
Import inside vue file works fine , import from app.js not working // Laravel , Vue3 , InertiaJs , ViteJs
The text was updated successfully, but these errors were encountered: