angular-schema-form不会生成并且没有错误
问题描述:
我正尝试用angular-schema-form构建一个简单的测试应用程序,但没有成功。angular-schema-form不会生成并且没有错误
{
"name": "schema form test",
"private": true,
"dependencies": {
"angular": "^1.3.x",
"angular-route": "1.3.x",
"angular-schema-form": "0.7.3",
"tv4": "~1.0.15",
"angular-sanitize": ">= 1.2",
"objectpath": "~1.0.4",
"jquery": "~2.1.x",
"jquery-ui": "~1.11.x"
},
"resolutions": {
"angular": "^1.3.x"
}
}
然后代码实际上是例如,从https://github.com/Textalk/angular-schema-form的复制粘贴,它不工作。有人看到上述版本有任何问题吗?
答
其实这里的版本没有什么问题。我只是愚蠢的,在调用angular.module的时候没有把'schemaForm'放入需求中。