问题标签 [ngboilerplate]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
1442 浏览

java - index.html 作为 spring+angularJS 应用程序中的欢迎页面

有一个带有 SpringMVC+AngularJS 的应用程序。将 index.html 页面放在 src/main/webapp/app/src/index.html 中。

在 web.xml 中有

该应用程序适用于

http://localhost:8080/myapp/app/index.html

但不与 http://localhost:8080/myapp 应该做哪些更改,以便应用程序正确定向到 index.html 页面

0 投票
1 回答
59 浏览

javascript - 不加载 CSS 和 JS ngBoilerplate

我是 AngularJS 的新手,我正在使用 ngBoilerplate 项目开始。

这就是我的“index.html”的外观,我在“vendor”文件夹中拥有所有需要的 JS 和 CSS。但在浏览器中我最终得到:

在此处输入图像描述

并且控制台中出现错误,您可以假设未加载 JS 和 CSS。有人可以给我一个建议吗?