我正在尝试添加材料设计到jhipster生成的网关。尽管它似乎在工作,但我在控制台上得到了这个警告;
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
Could not find HammerJS. Certain Angular Material components may not w
我正在尝试在服务器端的Nodejs + Expressjs上使用Angular Universal呈现Angular应用程序。在通过ng build --prod --app 1构建app并使用webpack编译之后,通过node server.js运行app。在浏览器中打开应用程序时出现错误Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.
// Load zone.js for the server.
requ
我最近在我的angular项目中添加了angular材质,但在将@angular/material添加到我的项目后不久,animate.js提供的一些动画就停止工作了。 有没有什么方法可以让animate.js和angular材质一起工作? 控制台错误: Module build failed: Error: ENOENT: no such file or directory, open 'node_modules/zone.js/dist/zone-evergreen.js' 但我确实在那个路径上有那个文件。
我想使用角材质,但是在导入角材质主题css文件时,我要面对这个问题-我在<link href="../node_modules/@angular/material/prebuilt-themes/indigo-pink.css" rel="stylesheet">中导入了index.html,但是我有这个错误=>。
获取以下错误- 'http://localhost:8081/node_modules/@angular/material/prebuilt-themes/indigo-pink.css' because its
我已经在我的angular项目中安装了angular material,但是当我运行该项目时,我得到了这个错误。
ERROR in Metadata version mismatch for module C:/Users/Corandus/code/angular/webapp_2/node_modules/@angular/material/slide-toggle/typings/index.d.ts, found version 4, expected 3, resolving symbol AppModule in C:/Users/Corandus/code/angular/web