mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Update templates.js
This commit is contained in:
parent
8f89f06761
commit
d616d12a16
1 changed files with 4 additions and 2 deletions
|
@ -50,8 +50,10 @@ const getVueApp = (props = {}, sourceType) => {
|
|||
: {};
|
||||
|
||||
if (deps !== null && component !== null) {
|
||||
imports += `import ${component} from 'primevue/${component.toLowerCase()}';`;
|
||||
element += `app.component('${component}', ${component});`;
|
||||
imports += `import ${component} from 'primevue/${component.toLowerCase()}';
|
||||
`;
|
||||
element += `app.component('${component}', ${component});
|
||||
`;
|
||||
}
|
||||
|
||||
if (embedded) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue