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

关于 stylelint 和 css 属性的2个问题(TS版本) #4901

Closed
qieqie7 opened this issue Jul 24, 2019 · 1 comment
Closed

关于 stylelint 和 css 属性的2个问题(TS版本) #4901

qieqie7 opened this issue Jul 24, 2019 · 1 comment

Comments

@qieqie7
Copy link

qieqie7 commented Jul 24, 2019

  1. 在less中使用其他字体, stylelint 如何配置? 求教如何去找到配置内容(jslint也是这样),
    引入内容如下图:
const fabric = require('@umijs/fabric');

module.exports = {
  ...fabric.stylelint,
};
  1. 在less 文件中写入如下css, 当时无妨编译到项目中
.class {
  display: -webkit-box;
  // other
  -webkit-line-clamp: 2;
  // 下面这行在浏览器中找不到
  -webkit-box-orient: vertical;
}
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