Closed dweiger closed 5 years ago
import styles from './index.scss' does not work. It leads to an error on the console:
To Reproduce
Expected behavior
Desktop (please complete the following information):
Additional context Until now I used require. that needs to declared first : declare function require(name: string); In the style tag it is:
That works for me.
This is a typescript error which should be solved in the newest boilerplate here: https://github.com/biotope/biotope-boilerplate/tree/feature/biotope-element
import styles from './index.scss' does not work. It leads to an error on the console:
To Reproduce
Expected behavior
Desktop (please complete the following information):
Additional context Until now I used require. that needs to declared first : declare function require(name: string); In the style tag it is:
That works for me.