Update templates.js
parent
8f89f06761
commit
d616d12a16
|
@ -50,8 +50,10 @@ const getVueApp = (props = {}, sourceType) => {
|
||||||
: {};
|
: {};
|
||||||
|
|
||||||
if (deps !== null && component !== null) {
|
if (deps !== null && component !== null) {
|
||||||
imports += `import ${component} from 'primevue/${component.toLowerCase()}';`;
|
imports += `import ${component} from 'primevue/${component.toLowerCase()}';
|
||||||
element += `app.component('${component}', ${component});`;
|
`;
|
||||||
|
element += `app.component('${component}', ${component});
|
||||||
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (embedded) {
|
if (embedded) {
|
||||||
|
|
Loading…
Reference in New Issue