javascript 在谷歌 CDN 上找不到角度路由 js

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/33061114/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-28 16:04:54  来源:igfitidea点击:

can't find angular route js on google cdn

javascriptangularjscdnngroute

提问by zero

this may seem like a very basic question but I can't seem to find the route angular resources on the google developer cdn (https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.route.js) even though the official docs say to find it there (https://code.angularjs.org/1.4.7/docs/api/ngRoute) I know I could use bower or npm to include them in my project, but I wanted to gain the benefits of static files served over a cdn (especially google's)

这似乎是一个非常基本的问题,但我似乎无法在谷歌开发者 CDN ( https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.route. js) 即使官方文档说要在那里找到它 ( https://code.angularjs.org/1.4.7/docs/api/ngRoute) 我知道我可以使用 bower 或 npm 将它们包含在我的项目中,但我想要获得通过 CDN 提供的静态文件的好处(尤其是谷歌的)