cssinjs / jss

JSS is an authoring tool for CSS which uses JavaScript as a host language.
https://cssinjs.org
MIT License
7.07k stars 396 forks source link

[jss-extend] didn't compile jss to css in extend #922

Closed linchen2chris closed 5 years ago

linchen2chris commented 5 years ago

row: { marginBottom: "16px", display: "flex", justifyContent: "space-between", }, rowEnd: { extend: "row", justifyContent: "flex-end", },

compiled to image

kof commented 5 years ago

your plugins setup seems wrong, you need to post a full story, ideally as codesandbox

kof commented 5 years ago

check the order, you seem to not use the default preset https://cssinjs.org/plugins?v=v9.8.7#order-does-matter or just use the preset.

linchen2chris commented 5 years ago

Thanks a lot, after config jss correctly, it works!