javascript - html-loader plugin does not include file -
i trying replace file-loader html-loader in angularjs application benefit image link management, though it's not working simple html template without images.
browser shows error:
get http://localhost:3244/%3cdiv%20ng-repeat=%22word%20in%20$ctrl.info%22%3e%20%20%3cspan%3e%7b%7bword%7d%7d%3c/span%3e%3c/div%3e%3cdiv%3e%3c/div%3e 404
html template not included bundle.js nor copied dist directory.
template file imported in same way file-loader:
import tpl './help.html';
configuration:
{ test: /\.html$/, use: ['html-loader'] }
i tried various versions of html-loader plugin (0.5.1, 0.5.0, 0.4.5). versions produce same error.
Comments
Post a Comment