未加载 CSS 和 JS ngBoilerplate

Not loading CSS and JS ngBoilerplate

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

.....
  <!-- compiled CSS --><% styles.forEach( function ( file ) { %>
  <link rel="stylesheet" type="text/css" href="<%= file %>" /><% }); %>

  <!-- compiled JavaScript --><% scripts.forEach( function ( file ) { %>
  <script type="text/javascript" src="<%= file %>"></script><% }); %>
.....

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

和控制台中的错误,您可以假设未加载 JS 和 CSS。有人可以给我建议该怎么做吗?

已修复!

我刚刚将 Apache 配置(#DocumentRoot 和#)设置为.../myProjectClient/src(其中有一个 index.html)不要.../myProjectClient/build 带有生成的脚本和链接的 index.html 在哪里....