Skip to content

__inject__ is not a function #57

@RaphBensimon

Description

@RaphBensimon

Hi, it's my first time i use vue-style-loader and i got this error

_styles_components_FormGroup_css__WEBPACK_IMPORTED_MODULE_1___default.a.__inject__ is not a function

This is my code

import FormGroup from './components/formGroup/FormGroup.vue'
import FormGroupStyle from './styles/components/FormGroup.css'
export default  {
	install(Vue, options) {
		Vue.mixin({
			beforeCreate() {
				console.log(FormGroupStyle.__inject__)
				FormGroupStyle.__inject__(this.$ssrContext)
			}
		})
		Vue.component('lv-form-group', FormGroup)
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy