setting up ng-htmljs-preprocessor karma preprocessor

你离开我真会死。 提交于 2019-12-04 07:51:06

The problem was actually quite simple fix. I was tempted to delete it but, in case someone has a similar issue I want this to be available.

Inside the karma.conf.js I have a

   stripPrefix: 'rootDirectory'   // was already in place

   stripSuffix: '.js.html' // I had to make a strip on the templatesCached 

   prependSuffix: '.html'  // this is what I was searching for 

When the preprocessor ran it templateCached all of my files. However, they did not end the way that I was expecting them and I could not read them. I had the module and other parts set up correctly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!