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

Error TS2339: Property 'classes' does not exist in DropdownLink.vue during build #3

Closed
morteza-ayashi opened this issue Oct 16, 2024 · 1 comment

Comments

@morteza-ayashi
Copy link

I encountered an issue while building the project using the npm run build command. The TypeScript compiler throws the following error related to the DropdownLink.vue component:

src/components/ui/navigation/Dropdown/DropdownLink.vue:15:13 - error TS2339: Property 'classes' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; ref_for?: boolean | undefined; ... 10 more ...; readonly handleClick?: (() => void) | undefined; }; ... 10 more ...; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends...'.

15 :class="classes"
~~~~~~~

@demon-bixia
Copy link
Owner

demon-bixia commented Jan 1, 2025

A prop "classes" was being used to help overwrite the component's styling when used in different contexts, the previous update moved the complicated component styles.css so the prop was not being used anymore, and it seems i forgot to remove it from from the DropDownLink.vue component. i removed it in 58a18e6.

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

2 participants