How does weex devtool compile cssnext - Stack Overflow
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-19 10:15:33
0
1
449

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

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
世界只因有你

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...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!