02cbbb718c
This is done by adding the `slotted: false` option to: - compiler-dom - compiler-ssr - compiler-sfc (forwarded to template compiler) At runtime, only slotted component will render slot fragments with slot scope Ids. For SSR, only slotted component will add slot scope Ids to rendered slot content. This should improve both runtime performance and reduce SSR rendered markup size. Note: requires SFC tooling (e.g. `vue-loader` and `vite`) to pass on the `slotted` option from the SFC descriptoer to the `compileTemplate` call. |
||
---|---|---|
.. | ||
__snapshots__ | ||
fixture | ||
compileScript.spec.ts | ||
compileStyle.spec.ts | ||
compileTemplate.spec.ts | ||
cssVars.spec.ts | ||
parse.spec.ts | ||
rewriteDefault.spec.ts | ||
templateTransformAssetUrl.spec.ts | ||
templateTransformSrcset.spec.ts | ||
templateUtils.spec.ts | ||
utils.ts |