引入cssnext到weex中来,比如
<style scoped lang="cssnext">
.group {
background-color: color(red alpha(-10%));
}
</style>
webpack通过loader可以实现cssnext的语法的编译,得到"backgroundColor": "rgba(255,0,0,0.9)"
,但是如何在weex debug/compile的时候做到这个?是使用姿势不对还是有什么重要的文档没看到...
灯塔,I need you
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
weex-toolkit 不提供对cssnext的支持,这个需要你自己写webpack然后build JS Bundle然后用weex debug 对应的JS Bundle就好了,关于webpack.config.js可以参考这里 https://github.com/weex-plugi...