fix(runtime-dom): Vapor useCssModule support#13711
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Size ReportBundles
Usages
|
useCssModules supportuseCssModule support
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/compiler-vapor
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/runtime-vapor
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
|
Thank you for this PR. We had an internal discussion and felt that exporting |
|
@edison1105 that's fair, I was also a bit unsure about adding that export at first but I see that in the core/packages/runtime-core/src/index.ts Lines 544 to 548 in 6a801de I was more or less following that same pattern with the |
|
@alex-snezhko |
|
@alex-snezhko |
Allow
useCssModuleto be used in vapor mode.Example:
Rendered output:
