From 4ff66ea92aa1a4ed46b504f7e775d20dafdd33d1 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Thu, 23 May 2019 14:28:24 +0300 Subject: [PATCH] Use new template syntax --- src/views/fieldset/FieldsetDoc.vue | 2 +- src/views/panel/PanelDoc.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/fieldset/FieldsetDoc.vue b/src/views/fieldset/FieldsetDoc.vue index 0bb61290e..dc90f9a62 100644 --- a/src/views/fieldset/FieldsetDoc.vue +++ b/src/views/fieldset/FieldsetDoc.vue @@ -22,7 +22,7 @@ import Fieldset from 'primevue/fieldset';

Header of the panel is either defined with the legend property or the legend template.

<Fieldset> - <template name="legend"> + <template #legend> Header Content </template> Content diff --git a/src/views/panel/PanelDoc.vue b/src/views/panel/PanelDoc.vue index 2d9e307af..f746b0646 100644 --- a/src/views/panel/PanelDoc.vue +++ b/src/views/panel/PanelDoc.vue @@ -22,7 +22,7 @@ import Panel from 'primevue/panel';

Header of the panel is either defined with the header property or the header template.

<Panel> - <template name="header"> + <template #header> Header Content </template> Content