Skip to content

Instantly share code, notes, and snippets.

@fernyettheplant
Created May 26, 2019 15:19
Show Gist options
  • Save fernyettheplant/608efa28ea3f46a719945db802d51b87 to your computer and use it in GitHub Desktop.
Save fernyettheplant/608efa28ea3f46a719945db802d51b87 to your computer and use it in GitHub Desktop.
import { Action, Module, Mutation, VuexModule } from 'vuex-module-decorators'
import { Inject } from 'inversify-props'
import KanyeQuote from '@/models/KanyeQuote'
import IKanyeWestService from '@/services/IKanyeWestService'
@Module
export default class KanyeWest extends VuexModule {
@Inject()
private kanyeWestService!: IKanyeWestService // Inject
public kanyeQuote: KanyeQuote | null = null
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment