The selector of the component "xxx" should have prefix "app"
2018-01-09 00:00
603 查看
在开发typescript项目的时候(如:angular),自定义的component会报TSLint: The selector of the component "xxx" should have prefix "app" (component-selector)异常,这是tslink检查前缀是否满足规则,可以修改tslint.json中的属性——component-selector的值为false,这样就不用必须app为前缀了.
相关文章推荐
- TSLint: The selector of the component "xxx" should have prefix "app" (https://goo.gl/cix8BY) (
- iOS the file "xxx.app" couldn't be opened because you don't have permission to view it.
- iOS 报错:没有查看权限the file "xxx.app" couldn't be opened because you don't have permission to view it.
- the file "xxx.app" couldn't be opened because you don't have permission to view it.
- Each child in an array or iterator should have a unique "key" prop. Check the render method of `Tabl
- 错误解决】The prefix "context" for element "context:component
- ios常见问题——The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "te
- The selector "my-app" did not match any elements
- Error 47 "xxxxxxx"is an invalid value for the "InputManifest" parameter of the "GenerateApplicationM
- dom4j The prefix “xxx” for element "xxx:yyy" is not bound
- iOS Images.xcassets: None of the input catalogs contained a matching app icon set named "AppIcon".
- IOS 设置icon 出现的bug The app icon set named "AppIcon" did not have any applicable content.
- ionic开发——编译出错:You have not accepted the license agreements of the following SDK component
- Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "te
- Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "te
- restoration of CBCentralManager is only allowed for applications that have specified the "bluetooth-
- The content of element type "web-app" must match……解决
- The app icon set named "AppIcon" did not have any applicable content.
- The content of element type "web-app" must match……等 问题之解决办法