Skip to content

fix(generate/component): generated templateUrl and styleUrls paths are broken #340

Description

@0x-r4bbit

Starting off with a fresh new A2 app using

$ ng new my-app

And creating a component using

$ ng g component test

Scaffolds the component fine in src/app/test however, templateUrl and styleUrls look like this:

templateUrl: 'app///test/test.html',
styleUrls: ['app///test/test.css']

angular-cli version: 0.0.26
node version: 4.3.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions