Accessing the app instance with Quasar 2 (Vue 3) #11363
Answered
by
metalsadman
gfgman
asked this question in
CLI - PWA mode
-
Hello, I'm migrating to Vue 3, and can't seem to find a way to access the app instance to migrate code like:
Am I supposed to access the app instance only from "boot" folder plugins, or is there a way to access it from any file (in preFetch functions for example)? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
metalsadman
Nov 17, 2021
Replies: 1 comment 5 replies
-
https://quasar.dev/quasar-cli/boot-files#anatomy-of-a-boot-file export default ({ app, router, store }) => {
// something to do
app.mixin(...)
} |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
rstoenescu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://quasar.dev/quasar-cli/boot-files#anatomy-of-a-boot-file