-
Notifications
You must be signed in to change notification settings - Fork 433
components templates not included #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This line here is what gets it working: The angular2-template-loader, is that missing for you perhaps? |
thanks for quick response. I do have this line in config. |
It must not be installed maybe? Is it in your package.json as well? |
at any case - plugin is installed but for some reason did not work. I changed to user webpack require which works just fine. Thanks for your work. It is super helpful and your quick responses is really impressive. |
Just made some major changes via #151 (we now have AoT, bootstrap SCSS & ng2-bootstrap) |
Hi, Mark
trying to sync to use latest and greatest (new webpack config and angular 4) but if fails to use html templates. it trying to get it over http without success. before templates was included in build.
Unhandled Promise rejection: Failed to load navmenu.component.html ; Zone: ; Task: Promise.then ; Value: Failed to load navmenu.component.html
//templateUrl: './home.component.html' - this will try to load it over http
template:
<h1>hello world</h1>
this works just fine.Any ideas what am I doing wrong? with 2.4 templateUrl was working just fine and templates was included in build
The text was updated successfully, but these errors were encountered: