From 5c35abb9d0c8c44b7d6e4b2bf2aca468d7d1a913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 19 Jan 2021 11:41:33 +0300 Subject: [PATCH] fix LiveEditor --- src/views/liveeditor/LiveEditor.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/liveeditor/LiveEditor.vue b/src/views/liveeditor/LiveEditor.vue index 60f70619a..d1245558a 100644 --- a/src/views/liveeditor/LiveEditor.vue +++ b/src/views/liveeditor/LiveEditor.vue @@ -131,8 +131,7 @@ ${style}` } if(name !== 'FloatLabelDemo') { - element += `import ${name.slice(0, -4)} from "primevue/${name.slice(0, -4).toLowerCase()}"; -`; + importElement += `import ${name.slice(0, -4)} from "primevue/${name.slice(0, -4).toLowerCase()}";`; } if(name === 'ToastDemo'){