We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 994eb99 commit 2fccad0Copy full SHA for 2fccad0
libs/plugin/src/generators/init/generator.ts
@@ -181,9 +181,10 @@ ${appComponentTemplateContent}
181
updatedContent,
182
'PropertyAssignment:has(Identifier[name="template"]) NoSubstitutionTemplateLiteral',
183
(node: NoSubstitutionTemplateLiteral) => {
184
+ const fullText = node.getFullText().trim().slice(1, -1);
185
return generateExperience === 'append'
186
? `\`
-${node.getFullText()}
187
+${fullText}
188
<ngt-canvas [sceneGraph]="sceneGraph" />\``
189
: `\`<ngt-canvas [sceneGraph]="sceneGraph" />\``;
190
},
0 commit comments