Skip to content
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

Cannot access 'props' before initialization #14

Open
zinker402 opened this issue Dec 23, 2023 · 2 comments
Open

Cannot access 'props' before initialization #14

zinker402 opened this issue Dec 23, 2023 · 2 comments

Comments

@zinker402
Copy link

ReferenceError: Cannot access 'props' before initialization (CategoryModal.vue:85:7)

@avary
Copy link

avary commented Dec 26, 2023

line 94 should have these const props = defineProps({
modelValue: Boolean,
category: {
required: true,
type: Object,
}
})

@itDeva
Copy link

itDeva commented Aug 2, 2024

I have the same problem

@avary the code is exactly the same you wrote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants