ng generate library virtusUI --style=scss gives an error
未關閉
area: @schematics/angular
feature
feature: insufficient votes
freq1: low
- 主要語言
- TypeScript
- 星號
- 27k
- 分支
- 11.8k
- 平均合併
- 14 小時 23 分鐘
- 30 天內合併 PR
- 162
描述
```
- [ ] bug report -> please search issues before submitting
- [x] feature request
```
It would be cool to generate library with SCSS system.
```
ng generate library virtusUI --style=scss
```
Now I'm getting an error
```
Schematic input does not validate against the Schema: {"style":"scss","entryFile":"public_api","prefix":"lib","skipPackageJson":false,"skipTsConfig":false}
Errors:
Data path "" should NOT have additional properties(style).
```
貢獻指南
研究方向
首先重現 `ng generate library virtusUI --style=scss`,並檢查程式庫產生 schematic 及其 schema 驗證。當 `style` 選項被接受,且產生的程式庫使用 SCSS 而不出現 additional-properties 錯誤時,此變更即完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- angular, typescript
- 領域
- cli, tooling
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100