get/set have been deprecated in favor of the config command

前端 未结 3 740
你的背包
你的背包 2021-02-01 15:14

Using angular-cli at the command line, I executed:

ng set defaults.styleExt styl

to set the default styling to Stylus and I got this response:<

3条回答
  •  不知归路
    2021-02-01 15:31

    ng config projects.PROJECT_NAME.schematics.@schematics/angular:component '{ styleext: "scss"}'

    for a specific project or for the default across all projects

    ng config schematics.@schematics/angular:component '{ styleext: "scss"}'

提交回复
热议问题