{"library":"vue-html-loader","type":"library","category":null,"description":"The `vue-html-loader` (version 1.2.4) is a Webpack loader specifically designed to process HTML templates for Vue.js applications. It functions as a fork of the generic `html-loader`, adapted to recognize and handle specific Vue template requirements. Its core functionality involves exporting HTML as a string, enabling asset path resolution for elements like `<img>` tags, and supporting optional HTML minimization. The loader also provides configuration options for custom tag-attribute processing and handling 'root-relative' URLs within HTML. However, its last update was in early 2016, indicating it is no longer actively maintained. Due to the significant evolution of both Webpack (v4/v5) and Vue.js (v2/v3, and modern build tools like Vue CLI and Vite), this loader is largely obsolete and incompatible with contemporary Vue development workflows.","language":"javascript","status":"abandoned","version":"1.2.4","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-html-loader","imports":["module.exports = { module: { rules: [ { test: /\\.html$/, use: 'vue-html-loader' } ] } }","module.exports = { vue: { html: { /* loader options */ } } }","{ test: /\\.html$/, use: 'vue-html-loader?attrs[]=img:src&attrs[]=img:data-src' }"]},{"cmd":"yarn add vue-html-loader","imports":[]},{"cmd":"pnpm add vue-html-loader","imports":[]}],"homepage":null,"github":"https://github.com/vuejs/vue-html-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-html-loader","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/vue-html-loader/compatibility"}}