File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
src/client/theme-default/components Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,19 @@ defineProps<{
1111 link? : string
1212 linkText? : string
1313 rel? : string
14+ target? : string
1415}>()
1516 </script >
1617
1718<template >
18- <VPLink class =" VPFeature" :href =" link" :rel =" rel" :no-icon =" true" :tag =" link ? 'a' : 'div'" >
19+ <VPLink
20+ class =" VPFeature"
21+ :href =" link"
22+ :rel =" rel"
23+ :target =" target"
24+ :no-icon =" true"
25+ :tag =" link ? 'a' : 'div'"
26+ >
1927 <article class =" box" >
2028 <VPImage
2129 v-if =" typeof icon === 'object'"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export interface Feature {
1010 link? : string
1111 linkText? : string
1212 rel? : string
13+ target? : string
1314}
1415
1516const props = defineProps <{
@@ -50,6 +51,7 @@ const grid = computed(() => {
5051 :link =" feature.link"
5152 :link-text =" feature.linkText"
5253 :rel =" feature.rel"
54+ :target =" feature.target"
5355 />
5456 </div >
5557 </div >
You can’t perform that action at this time.
0 commit comments