Tag:Vue cli uses CSS
-
Using CSS loader to implement CSS module in Vue cli
[preface] Both Vue and react CSS modular solutions are implemented by relying on loaders. In use, they are used in VuescopedProperty to privatize the style and use the depth action selector/deepTo realize the privatization of style. example: <div> <div class=”demo”> <div class=”child”></ div> </div> </div> <script> // some code <script/> <style lang=”less” scoped> .demo { […]