typeahead-popup-template-url 与 webpack 结合使用
作者: randspy创建于 2017年3月14日更新于 2018年9月20日
你好。 我正在将一个angular(1.6.2)应用从gulp迁移到webpack 2。 我使用了angular-ui-bootstrap,带有typeahead-popup-template-url属性。 它的格式如下: > typeahead-popup-template-url="app/somePathHere/custom-popup.html" 如何在webpack中使用它?我收到了一个错误消息: > Error: [$compile:tpload] Failed to load template: app/somePathHere/custom-popup.html 我不认为这是路径的问题。 我尝试了所有我能想到的组合。 此外,在迁移angular组件时,我将
内容来源: angular-ui/bootstrap