Repository navigation
Replies: 2 comments 3 replies
|
我这边用 WebStorm 写 Angular + ng-zorro 时也踩过同样的坑:HTML 里 可以按下面顺序试(我自己一般走到第 3 步就好了):
如果按上面做完仍全红,可以说一下:Angular 大版本、ng-zorro 版本、模板是 standalone 还是 NgModule,以及 WebStorm 具体报的是 “Unknown html tag” 还是 “Angular: …” 这类提示。我可以再帮你对一下该导入哪几个模块。 |
|
中文简要: 你的判断是对的:前端目录被单独注册成模块(有自己的 Nice find with the 1. Run the frontend without a module The Maven comparison makes sense for Java, because each Maven module becomes a real IntelliJ module with its own classpath. JavaScript/Angular support works differently: the IDE picks up To still start it with one click:
Your backend run configuration stays as it is. You can also right-click 2. If you want to keep I couldn't find a JetBrains doc that explains exactly why the separate module breaks it, so these are the things I'd check in
3. If it still fails with the module You've already narrowed it down to "works without Docs: WebStorm Angular support, npm run configuration If option 1 works for you, feel free to mark this as the answer so others with the same setup can find it. |




Uh oh!
There was an error while loading. Please reload this page.
我使用webstrom 这些全局组件以及 标签的属性,webstrom全部报错啊,我用的是最新版本的webstrom, 我已经尝试在werbstrom设置中将angular20模版中添加了*.html,但是这些属性组件依然全部报错,有没有大佬知道怎么解决啊
All reactions