Skip to content

Commit 7092a2f

Browse files
authored
fix: provide template prop on LightningElement in SSRv2 (#5212)
1 parent f6b600f commit 7092a2f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/@lwc/ssr-runtime/src/lightning-element.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,12 @@ export class LightningElement implements PropsAvailableAtConstruction {
162162
// noop
163163
}
164164

165+
get template() {
166+
return {
167+
synthetic: false,
168+
};
169+
}
170+
165171
// ----------------------------------------------------------- //
166172
// Props/methods explicitly not available in this environment //
167173
// Getters are named "get*" for parity with @lwc/engine-server //

0 commit comments

Comments
 (0)