ngx-chips: Templates not found
I’m submitting a … (check one with “x”)
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request
Current behavior I installed the plugin, import the module and I get in Chrome Console:
http://localhost:3000/tag-input.template.html Failed to load tag-input.template.html http://localhost:3000/icon.html http://localhost:3000/tag-input-form.template.html http://localhost:3000/tag.template.html
I can’t figure out why the plugin try to get all templates at server root directory
Right now, I can’t migrate to Angular 4.0.0/Webpack 2 (due to release planning contraints) so I tried to install v1.0.0. I also try the 0.8.6 to check if the problem was with webpack 2.
What do you use to build your app? (SystemJS, Webpack). Please specify the version Webpack 1.x
-
Angular version: 2.4.10
-
Browser: All
Can you help me with this issue?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 30 (14 by maintainers)
Hey, what are you using as the import statement? I had the same issue as you do when I did
import {TagInputModule} from "ng2-tag-input/dist/modules/ng2-tag-input.module";
and when I changed to:
import {TagInputModule} from "ng2-tag-input";
all is working
@margielm sorry for the confusion. Glad you got it figured out!
Me too 😃 great component guys! thank you for all the hard work!!
@margielm Thanks, now it’s working