{"library":"vue-style-loader","type":"library","category":null,"description":"A webpack loader that dynamically injects CSS into the document as <style> tags, specifically designed for Vue.js single-file components. Version 4.1.3 is the current stable release, with maintenance mode active. It is a fork of style-loader, adding SSR support (collecting styles into context.styles for node targets) and a manualInject option for non-vue-file styles. Unlike style-loader, it does not support url mode, reference counting, singleton, or insertAt options; instead it intelligently selects the best injection strategy. It is a core dependency of vue-loader and automatically used for <style> blocks in .vue files.","language":"javascript","status":"maintenance","version":"4.1.3","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-style-loader","imports":["module.exports = { module: { rules: [ { test: /\\.css$/, use: ['vue-style-loader', 'css-loader'] } ] } }","import styles from 'styles.scss' // then if (styles.__inject__) styles.__inject__(this.$ssrContext)","module.exports = { module: { rules: [ { test: /\\.css$/, use: [{ loader: 'vue-style-loader', options: { ssrId: true } }, 'css-loader'] } ] } }"]},{"cmd":"yarn add vue-style-loader","imports":[]},{"cmd":"pnpm add vue-style-loader","imports":[]}],"homepage":null,"github":"https://github.com/vuejs/vue-style-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-style-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-style-loader/compatibility"}}