I use CSS like this:
const styles = {
foo: {
color: 'red'
}
}
<div className={styles.foo} />
and I want emmet to expand .foo
to <div className={styles.foo}></div>
I don't see any reference to class
or className
in emmet's config file.
Also looked into preferences.json
and didn't find a solution.
It seems very simple to do.
What am I missing here?
My code editor is vscode.
.ts
to.tsx