Skip to content

defineClientAppSetup Usage & Vue 3 TS Cannot Find Module Type Declaration #699

Answered by Mister-Hope
derogate asked this question in Q&A
Discussion options

You must be logged in to vote

Fist of all, any vue using related issue are welcomed at vue forum or website like stackoverflow. And posing here is a bit out of topic.

I am not sure getting what you wanna ask in your first question. It will be called during client app setup, and what you want to do depends on yourslef. You can register some action using onMounted and you can watch route path to do something, also you can provide global computed variables. It's totally up to you to call everything in client app setup function.

And the second, I don't think vite will throw those issues, vite is using esbuild, and it does not have any static checking! If it's something your editor gives you, e.g. vscode, you will probably…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by derogate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants