Skip to content
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

Angular 4 compatibility? #65

Open
klihelp opened this issue Mar 26, 2017 · 3 comments
Open

Angular 4 compatibility? #65

klihelp opened this issue Mar 26, 2017 · 3 comments

Comments

@klihelp
Copy link

klihelp commented Mar 26, 2017

No description provided.

@JunkyDeLuxe
Copy link

Hello, I have a problem
template: 'login.component.html',

Result in my web page with webpack dev server
displays the string login.component.html instead of the real html template.

@JunkyDeLuxe
Copy link

JunkyDeLuxe commented Apr 6, 2017

Ok fixed with this one:
templateUrl: './login.component.html'

EDIT: Don't use the keepUrl option !

@ghost
Copy link

ghost commented Sep 19, 2017

I'm using this with Angular 4 just fine.

Also, the readme does show the following:

@Component({
  selector: 'awesome-button',
  template: 'button.template.html',
  styles: ['button.style.css']
})
export class AwesomeButtonComponent { }

Which led me to make the same mistake as @JunkyDeLuxe at first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants