Typescript can not recognize CSS file, so it self can't support CSS modules, when I type this:
import React from 'react';
import styles from './style.css';
const Button = () => {
return (
<button className={styles.myButtonClass}>click me</button>
)
}
It will cause:
Cannot find module './style.css'.
Could you please add support for CSS modules?
Typescript can not recognize CSS file, so it self can't support CSS modules, when I type this:
It will cause:
Could you please add support for CSS modules?