Generate new component template and style path issue
See original GitHub issueWhen I’m creating a new component the templateUrl
and styleUrls
have a double slash after app folder.
Is this expected behaviour?
OS. El Capital (but also on Win 10) Versions. angular-cli: 0.0.31 node: 5.10.1
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Generate component with inline template and style using ...
For inline templates, we need to add --inlineTemplate=true. By default its value is false. For inline style, we need to add --inlineStyle=true.
Read more >Angular components overview
This topic describes how to create and configure an Angular component. ... In most cases, you define the styles for your component's template...
Read more >Generating new components doesn't seem to work #526
Running the component schematic on a new Nx workspace v6 appears to work correctly. Might just be an issue in that example project....
Read more >How to solve error in HostResourceResolver?
So make sure you have the file in your project. It can also happen when you do not give the correct path to...
Read more >How to avoid a File Hell: Angular's Single File Component
Path to inline ... By default, Angular CLI is not configured to inline the template and the style of the component: it creates...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@hansl yes, this will be handled via PR #427 which is currently being reviewed.
Hm… okay leaving this here as it seems related: https://github.com/angular/angular-cli/issues/340