A TypeScript language service plugin providing support for CSS Candy Modules
npm i -D typescript-plugin-candy
Once installed, add this plugin to your tsconfig.json
:
{
"compilerOptions": {
"plugins": [{ "name": "typescript-plugin-candy" }]
}
}
Use workspace typescript version
Auto-support intellisense for .css
, .scss
, .sass
, .styl
modules
Brody McKee for typescript-plugin-css-modules