pull/6011/head
Cagatay Civici 2024-07-02 15:35:30 +03:00
commit f1bd92f01b
2 changed files with 8 additions and 5 deletions

View File

@ -20,11 +20,13 @@ body:
id: reproducer
attributes:
label: Reproducer
placeholder: https://stackblitz.com/edit/primevue-create-vue-issue-template
placeholder: https://stackblitz.com/edit/primevue-4-vite-issue-template
description: |
Please fork one of the issue template
[PrimeVue 3 Issue Template](https://stackblitz.com/edit/primevue-create-vue-issue-template)
[PrimeVue TypeScript Issue Template](https://stackblitz.com/edit/primevue-create-vue-typescript-issue-template)
[PrimeVue 4 Issue Template](https://stackblitz.com/edit/primevue-4-vite-issue-template)
[PrimeVue 4 TypeScript Issue Template](https://stackblitz.com/edit/primevue-4-vite-ts-issue-template)
[PrimeVue 3 Issue Template](https://stackblitz.com/edit/primevue-3-vite-issue-template)
[PrimeVue 3 TypeScript Issue Template](https://stackblitz.com/edit/primevue-3-vite-ts-issue-template)
[PrimeVue Nuxt Issue Template](https://stackblitz.com/edit/primevue-nuxt-issue-template)
[PrimeVue 2 Issue Template](https://codesandbox.io/s/primevue-2-issue-template-dw7jd7)
and create a case demonstrating your bug report. Issues **without** a Stackblitz have much less possibility to be reviewed.
@ -43,6 +45,7 @@ body:
label: Vue version
multiple: false
options:
- 4.x
- 3.x
- 2.x
validations:

View File

@ -32,7 +32,7 @@ export function PrimeVueResolver(options: PrimeVueResolverOptions = {}): Compone
if (cMeta) {
return (
options?.resolve(cMeta, 'component') ?? {
options?.resolve?.(cMeta, 'component') ?? {
from: cMeta.from
}
);
@ -48,7 +48,7 @@ export function PrimeVueResolver(options: PrimeVueResolverOptions = {}): Compone
if (dMeta) {
return (
options?.resolve(dMeta, 'directive') ?? {
options?.resolve?.(dMeta, 'directive') ?? {
as: dMeta.as,
from: dMeta.from
}