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. |
||
---|---|---|
.. | ||
ssrComponent.spec.ts | ||
ssrElement.spec.ts | ||
ssrInjectCssVars.spec.ts | ||
ssrPortal.spec.ts | ||
ssrScopeId.spec.ts | ||
ssrSlotOutlet.spec.ts | ||
ssrSuspense.spec.ts | ||
ssrText.spec.ts | ||
ssrVFor.spec.ts | ||
ssrVIf.spec.ts | ||
ssrVModel.spec.ts | ||
ssrVShow.spec.ts | ||
utils.ts |