我想在項目中安裝Angular Material庫,但是我在公司的防火牆後面,甚至配置代理都不起作用,似乎代理阻塞了某些類型的文件。有沒有辦法來離線安裝?我可以在沒有Bower或NPM的情況下安裝Angular Material Library嗎?
僅供參考,這是我從BundleConfig here
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap.css",
"~/Content/font-awesome.min.css",
"~/Scripts/angular-loading/loading-bar.css",
"~/Scripts/nya-bs-select/nya-bs-select.min.css",
"~/Content/angular-ui-switch.css",
"~/Content/site.css"));
bundles.Add(new ScriptBundle("~/bundles/angular")
.Include("~/Scripts/angular.js",
"~/Scripts/angular-route.js",
"~/Scripts/angular-ui/ui-bootstrap-tpls.js",
"~/Scripts/AngularApp/app.js")
.IncludeDirectory("~/app", "*.js", true)
.Include("~/Scripts/smart-table/smart-table.js",
"~/Scripts/angular-loading/loading-bar.js",
"~/Scripts/nya-bs-select/nya-bs-select.min.js",
"~/Scripts/moment.js"));
剛去角網站下載角並將其納入到你的項目 –
您可以使用CDN呢? https://github.com/angular/material#cdn – Patrick