You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Обнаружил такую проблему, когда установил модуль "classnames", изменился принцип указания классов для блоков т.е. если раньше писал import from "./App.css" и использование className="wrapper", то теперь импортирование css происходит вот так import styles from "./App.css" и в коде следовательно указание классов становится вот таким className={styles.wrapper}, когда копирую плагином классы уже некорректно извлекаются, скобки лишние, закрываются и открываются не там, где нужно. Очень бы хотелось продолжить работу с плагином, сильно облегчает жизнь при разработке.
The text was updated successfully, but these errors were encountered:
r0otx
changed the title
Некорректно работает плагин с модулем react "classnames"
Некорректно работает плагин с модулем "classnames"
Jun 7, 2022
Обнаружил такую проблему, когда установил модуль "classnames", изменился принцип указания классов для блоков т.е. если раньше писал
import from "./App.css"
и использованиеclassName="wrapper"
, то теперь импортирование css происходит вот такimport styles from "./App.css"
и в коде следовательно указание классов становится вот такимclassName={styles.wrapper}
, когда копирую плагином классы уже некорректно извлекаются, скобки лишние, закрываются и открываются не там, где нужно. Очень бы хотелось продолжить работу с плагином, сильно облегчает жизнь при разработке.The text was updated successfully, but these errors were encountered: