{"_attachments":{},"_id":"vue-style-loader","_rev":"7628-61f1607a4ce7cf8f5828cdf7","author":{"name":"Evan You"},"description":"Vue.js style loader module for webpack","dist-tags":{"latest":"4.1.3"},"license":"MIT","maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"},{"name":"soda","email":"haoqunjiang+npm@gmail.com"}],"name":"vue-style-loader","readme":"# vue-style-loader [![Build Status](https://circleci.com/gh/vuejs/vue-style-loader/tree/master.svg?style=shield)](https://circleci.com/gh/vuejs/vue-loader/tree/master) [![npm package](https://img.shields.io/npm/v/vue-style-loader.svg)](https://www.npmjs.com/package/vue-style-loader)\r\n\r\nThis is a fork based on [style-loader](https://github.com/webpack/style-loader). Similar to `style-loader`, you can chain it after `css-loader` to dynamically inject CSS into the document as style tags. However, since this is included as a dependency and used by default in `vue-loader`, in most cases you don't need to configure this loader yourself.\r\n\r\n## Options\r\n\r\n- **manualInject** (3.1.0+):\r\n\r\n Type: `boolean`. When importing the style from a non-vue-file, by default the style is injected as a side effect of the import. When `manualInject` is true, the imported style object exposes a `__inject__` method, which can then be called manually at appropriate timing. If called on the server, the method expects one argument which is the `ssrContext` to attach styles to.\r\n\r\n ``` js\r\n import styles from 'styles.scss'\r\n\r\n export default {\r\n beforeCreate() { // or create a mixin for this purpose\r\n if(styles.__inject__) {\r\n styles.__inject__(this.$ssrContext)\r\n }\r\n }\r\n\r\n render() {\r\n return