From 65d51962e0d71585de4ea210d48ad3f3a64361af Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 2 Jul 2024 15:27:47 +0300 Subject: [PATCH 1/3] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 903d6c62c..0a1cfe25d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -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-3-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: From f4ee8b33736e3f7798df3b55793f30c82128b4ec Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 2 Jul 2024 15:29:58 +0300 Subject: [PATCH 2/3] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 0a1cfe25d..35d81faa1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -24,7 +24,7 @@ body: description: | Please fork one of the 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-3-vite-ts-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) From 007d2c472f4d44b7b089405466f4d823378ecf52 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Tue, 2 Jul 2024 13:31:07 +0100 Subject: [PATCH 3/3] Fixed #6003 - options.resolve is not a function in auto-import-resolver package --- packages/auto-import-resolver/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/auto-import-resolver/index.ts b/packages/auto-import-resolver/index.ts index ca04eefc2..abeb9872f 100644 --- a/packages/auto-import-resolver/index.ts +++ b/packages/auto-import-resolver/index.ts @@ -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 }