Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照你的方式给组件打包后。部分vue组件样式无效了 #2

Open
wood-liu92 opened this issue Jan 12, 2018 · 3 comments
Open

Comments

@wood-liu92
Copy link

wood-liu92 commented Jan 12, 2018

<style scoped>
  .modules-report{
    width:calc(21*20)px;
    height: calc(21*20)px;
    border:1px solid #7bb959;
    border-radius: calc(10*2)px;
  }

</style>

有的需要在style上添加scoped属性才生效,有的需要去掉scoped属性才生效。
请问您遇到过吗

@yozosann
Copy link
Owner

不好意思 还没有遇到过这样的问题,请问您解决了吗 解决了的话可以帖上啦 不然我有时间试一下

@wood-liu92
Copy link
Author

mac和windows平台的差异性您遇到过吗?我mac平台上抽出来vue和mint-ui,业务代码在windows上还引入vue。

@wood-liu92
Copy link
Author

据说是在安装依赖的时候cnpm install 有坑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants