-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
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
[ERROR] Cannot find name 'definePage' #114
Comments
SolvedSearched in
Thank you! |
ReopenedOh oh... new error...
The error goes away if I delete the definePage call and import. |
UpdateI found an example (playground) that uses
The |
Do you have a boiled down repro for this one? I couldn't reproduce it |
Gonna make one tonight, my apologies. For now, I can add that using the Only |
Here is the repro: |
Your repo seems private. Please make sure there is no quasar, nested js or other unrelated framework or library. Using the page structure and the definePage should be enough to reproduce the problem. Otherwise it might be a problem with the other libraries |
Here https://github.com/angelhdzmultimedia/chat-client-unplugin-vue-router No Quasar, no libs, no backend. Pure vite vue3 typescript project. |
Wow that was fast!!!Working 100%. Also the |
Can't get the
definePage
macro to work to define a route meta. I know I can use the<route>
tag, but I prefer using the macro to match Nuxt 3 conventions. Tried to restart the Volar Takeover Mode TypeScript server and VSCode workspace.Using
Vue 3
,Quasar with Vite CLI
,<script setup>
,TypeScript
, andtyped-router.d.ts
correctly configured intsconfig.json
.All dependencies updated to
@latest
.Any tip will be appreciated.
The text was updated successfully, but these errors were encountered: