Introduce cssnext into weex, such as
<style scoped lang="cssnext">
.group {
background-color: color(red alpha(-10%));
}
</style>
Webpack can compile the cssnext syntax through loader, and get "backgroundColor": "rgba(255,0,0,0.9)"
, but how to do this during weex debug/compile ? Is it because the usage posture is wrong or there is some important document that I haven’t seen...
Lighthouse, I need you
weex-toolkit does not provide support for cssnext. This requires you to write webpack yourself and then build the JS Bundle and then use the JS Bundle corresponding to weex debug. For webpack.config.js, you can refer to here https://github.com/ weex-plugi...