{"library":"vite-plugin-vue-facing-decorator-hmr","type":"library","category":null,"description":"This Vite plugin addresses a known incompatibility between `vue-facing-decorator` and Vite's Hot Module Replacement (HMR) system when the `toNative()` method is omitted from Vue components. The `vue-facing-decorator` library typically requires calling `toNative()` on decorated components for HMR to function correctly, but this practice can severely degrade developer experience by breaking IDE features like auto-completion in environments such as WebStorm. This plugin, currently at version 1.0.1 (as of its initial release in 2024), transparently injects the necessary `toNative()` logic during the Vite build process, allowing developers to omit it from their source code, thereby preserving IDE functionality while maintaining HMR support. It offers a targeted solution for a specific development workflow challenge.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","vite-plugin","vue","sfc","js","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vite-plugin-vue-facing-decorator-hmr","imports":["import vueFacingDecoratorHmr from 'vite-plugin-vue-facing-decorator-hmr';"]},{"cmd":"yarn add vite-plugin-vue-facing-decorator-hmr","imports":[]},{"cmd":"pnpm add vite-plugin-vue-facing-decorator-hmr","imports":[]}],"homepage":null,"github":"https://github.com/Arakmar/vite-plugin-vue-facing-decorator-hmr","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-vue-facing-decorator-hmr","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-plugin-vue-facing-decorator-hmr/compatibility"}}