Angular和Jade意外令牌错误

时间:2016-02-01 18:57:41

标签: angularjs pug

Jade的新手,试图弄明白。我不断得到一个错误的错误说:

Uncaught SyntaxError: Unexpected token <
angular.js:1 Uncaught SyntaxError: Unexpected token <
angular-resource.js:1 Uncaught SyntaxError: Unexpected token <
angular-route.js:1 Uncaught SyntaxError: Unexpected token <
app.js:1 Uncaught SyntaxError: Unexpected token <

我想知道抓取我的文件/脚本是否存在问题?在scripts.jade文件中,它看起来像这样:

script(type="text/javascript", src="multivision/vendor/jquery/jquery.js")
script(type="text/javascript", src="multivision/vendor/angular/angular.js")
script(type="text/javascript", src="multivision/vendor/angular-   resource/angular-resource.js")
script(type="text/javascript", src="multivision/vendor/angular- route/angular-route.js")
script(type="text/javascript", src="multivision/app/app.js")

思想?

0 个答案:

没有答案