角度倾斜配置设置数组

时间:2018-08-08 16:47:40

标签: angular-cli-v6

如何使用ng config在数组类型中设置值以在数组中创建新项目?

ng config projects.ief.architect.build.options.stylePreprocessorOptions.includePaths []

我知道

"stylePreprocessorOptions": {
  "includePaths": []
},

符合预期。

我的ng config命令应该完成以下什么操作?

"stylePreprocessorOptions": {
  "includePaths": ["node_modules"]
},

我尝试了ng config projects.ief.architect.build.options.stylePreprocessorOptions.includePaths [node_modules],这很奇怪

"stylePreprocessorOptions": {
  "includePaths": "[node_modules]"
},

然后进一步

ng config projects.ief.architect.build.options.stylePreprocessorOptions.includePaths[0] node_module

知道了
Value cannot be found.

0 个答案:

没有答案