2014-09-29 55 views
1

我正嘗試用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的複製粘貼,它不工作。有人看到上述版本有任何問題嗎?

回答

1

其實這裏的版本沒有什麼問題。我只是愚蠢的,在調用angular.module的時候沒有把'schemaForm'放入需求中。

相關問題