Wei

Results 290 comments of Wei

I encountered this issue recently. I don't quite understand what caused it but I did some changes to eliminate the issues. 1. use typescript of `~4.3.2` 2. Add a `vetur.config.js`...

It's not configurable to disable the runtime code for now. But as a workaround, you can pass `display: none;` to the badgeStyle property to hide the badge entirely at development...

configure it like this and the badge will disappear. ```ts export default defineConfig({ plugins: [ checker({ overlay: { badgeStyle: 'display: none;' , } }), ], }) ``` The runtime code...

Does this issue still exists after 0.5.0? Although I'm not very clearly what cause the issue, but I added a try catch statement to prevent this. https://github.com/fi3ework/vite-plugin-checker/blob/140f96c3d24f70e118e8397fc23aa7e41e01ee91/packages/vite-plugin-checker/src/checkers/vueTsc/prepareVueTsc.ts#L53-L66

tracks in #129 . Should be fixed in 0.5.0. Have a try.