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'){