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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…