ccqgithub/fis3-parser-vue-component

<style>内的样式应在引入的依赖样式之后

lichking1201 opened this issue · 3 comments

<script>
  import Header from 'vux/src/components/x-header'
</script>
<style lang='scss'>
  .vux-header .vux-header-title, .vux-header h1{
    overflow: visible !important;
  }
</style>

编译后,<style>内的样式,在import进来模板依赖的样式之前,导致业务模板不能覆写组件样式

的确是,依赖的应该在前面。这个问题有点棘手,有时间了慢慢看下。

#7
已发布:2.0.0,具体使用方法见readme ~~

赞!