|
|
|
@ -115,8 +115,8 @@ export default function ssr(
|
|
|
|
${templateProperties.store && `options.store = %store();`}
|
|
|
|
${templateProperties.store && `options.store = %store();`}
|
|
|
|
__result.addComponent(${name});
|
|
|
|
__result.addComponent(${name});
|
|
|
|
|
|
|
|
|
|
|
|
${options.dev && storeProps.length > 0 && deindent`
|
|
|
|
${options.dev && storeProps.length > 0 && !templateProperties.store && deindent`
|
|
|
|
if (!options.store && !${templateProperties.store}) {
|
|
|
|
if (!options.store) {
|
|
|
|
throw new Error("${debugName} references store properties, but no store was provided");
|
|
|
|
throw new Error("${debugName} references store properties, but no store was provided");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`}
|
|
|
|
`}
|
|
|
|
|