Angularschematics异常:不支持关键词'id',请使用'$id'作为模式ID
创始人
2024-10-29 09:30:11
0

使用'$id'代替'id'作为模式ID。

示例代码:

在angular.json中使用'$id'代替'id'作为模式ID。

错误代码:

{ "name": "test", "$schema": "http://json-schema.org/draft-07/schema#", "id": "test", "schematics": {} }

修复代码:

{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "http://test.com/schemas/test.json", "title": "Test Schema", "type": "object", "properties": { "name": { "type": "string" } }, "required": [ "name" ] }

相关内容

热门资讯

4分钟大纲!决战十水三修改器,... 4分钟大纲!决战十水三修改器,牛总管辅助神器下载免费,科技教程(有挂解惑)-哔哩哔哩;1、上手简单,...
透视软件!wepoker怎么破... 透视软件!wepoker怎么破解游戏,wepoker透视app下载,指南教程(一贯真的是有挂)-哔哩...
透视系统!hhpoker软件安... 透视系统!hhpoker软件安装包(透视)开挂辅助器(一直存在有挂)-哔哩哔哩运hhpoker软件安...
第2分钟方式!心悦游戏万能透视... 第2分钟方式!心悦游戏万能透视辅助器免费,战神辅助发卡官网,解密教程(果真有挂)-哔哩哔哩1)心悦游...
透视安卓版!模拟器打开hhpo... 透视安卓版!模拟器打开hhpoker,wejoker透视方法,窍门教程(都是真的是有挂)-哔哩哔哩1...
透视内置!wepoker透视功... 透视内置!wepoker透视功能下载(透视)开挂辅助脚本(本来存在有挂)-哔哩哔哩1、全新机制【we...
透视规律!wepoker数据分... 透视规律!wepoker数据分析,wepokerplus辅助,积累教程(都是是有挂)-哔哩哔哩1、起...
透视计算器!德州局hhpoke... 透视计算器!德州局hhpoker(透视)开挂辅助app(竟然是真的挂)-哔哩哔哩1、德州局hhpok...
透视新版!wepoker正确养... 透视新版!wepoker正确养号方法,wepoker手机版透视脚本,指引教程(总是存在有挂)-哔哩哔...
透视漏洞!佛手在线大菠萝技巧(... 透视漏洞!佛手在线大菠萝技巧(透视)开挂辅助器(好像真的是有挂)-哔哩哔哩1、金币登录送、破产送、升...