Angular Material使用大量警告信息进行初始化

时间:2016-08-02 07:17:51

标签: javascript angularjs angular-material

我是AngularMaterial的新手并尝试使用AngularJs v1.5.5AngularMaterial v1.1.0-rc.5来运行应用程序 但我在应用初始化中收到了很多警告信息:

mainScripts?v=VXgz:1 layout-lt-mdhas been deprecated. Please use a `layout-gt-<xxx>` variant.
mainScripts?v=VXgz:1 layout-lt-lghas been deprecated. Please use a `layout-gt-<xxx>` variant.
mainScripts?v=VXgz:1 flex-lt-mdhas been deprecated. Please use a `flex-gt-<xxx>` variant.
mainScripts?v=VXgz:1 flex-lt-lghas been deprecated. Please use a `flex-gt-<xxx>` variant.
mainScripts?v=VXgz:1 layout-align-lt-mdhas been deprecated. Please use a `layout-gt-<xxx>` variant.
mainScripts?v=VXgz:1 layout-align-lt-lghas been deprecated. Please use a `layout-gt-<xxx>` variant.
mainScripts?v=VXgz:1 flex-order-lt-mdhas been deprecated. Please use a `flex-gt-<xxx>` variant.
mainScripts?v=VXgz:1 flex-order-lt-lghas been deprecated. Please use a `flex-gt-<xxx>` variant.
mainScripts?v=VXgz:1 flex-offset-lt-mdhas been deprecated. Please use a `flex-gt-<xxx>` variant.
mainScripts?v=VXgz:1 flex-offset-lt-lghas been deprecated. Please use a `flex-gt-<xxx>` variant.
mainScripts?v=VXgz:1 hide-lt-mdhas been deprecated. Please use a `hide-gt-<xxx>` variant.
mainScripts?v=VXgz:1 hide-lt-lghas been deprecated. Please use a `hide-gt-<xxx>` variant.
mainScripts?v=VXgz:1 show-lt-mdhas been deprecated. Please use a `show-gt-<xxx>` variant.
mainScripts?v=VXgz:1 show-lt-lghas been deprecated. Please use a `show-gt-<xxx>` variant.

这些是我正在加载的文件:

bundles.Add(new ScriptBundle("~/bundles/mainScripts").Include(
    "~/Scripts/jquery-2.2.3.min.js",
    "~/Scripts/angular.min.js",
    "~/Scripts/angular-route.min.js",
    "~/Scripts/angular-animate.min.js",
    "~/Scripts/angular-aria.min.js",
    "~/Scripts/angular-material.js",
    "~/Scripts/underscore.min.js",
    "~/Scripts/ADM-dateTimePicker.min.js"
));

我的项目是空的!它到底是什么?

0 个答案:

没有答案