Created
March 18, 2021 05:16
-
-
Save margauxflores/bdcfcec8f8988757f33f436524efe13e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TypeScript declaration to use $style in a Vue CSS Modules setup | |
import Vue from 'vue'; | |
declare module 'vue/types/vue' { | |
interface Vue { | |
$style: { [key: string]: string }; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment