New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS Module reference does not work on v0.34.6 #1178
Comments
it seems the same situation in <style scoped> |
@johnsoncodehk |
Dear @johnsoncodehk & all, Still not working on my side. Am I missing something? Thanks! |
@dxps In your jsconfig.json, put the following: "vueCompilerOptions": { Instead of "jsx": "preserve". Should make the error disappear. |
@jomoflash Thanks, James! 🙏 |
@dxps See #1219 (comment). |
After updating Volar to v0.34.6, Volar shows a message "TypeScript intellisense is disabled on template, ..." on
<template>
tag.According to the message, I changed the tsconfig setting from
"jsx": "react", "jsxFactory": "h"
to"jsx": "preserve"
and the type of CSS module classes objects has becomeany
; to be more precise, CSS reference is not working for CSS modules.The text was updated successfully, but these errors were encountered: