问题标签 [angular-templatecache]

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 投票
0 回答
50 浏览

javascript - 如何通过 node_modules 或 bower_components 将完整的 angularjs web 应用程序添加到另一个 web 应用程序项目中?

我开发了一个完整的 angularjs Web 应用程序,我需要将它安装到 Bower 或 npm 安装到另一个 angularjs 项目中。我是否需要将整个应用程序捆绑为一个 .js 文件,例如 templateCache.js 包含其中的所有 HTML 代码,或者不需要将所有应用程序捆绑到一个 .js 中但单独的 index.css index.html index.js