Skip to content

ng generate to specific file path not working #2076

@adamstephensen

Description

@adamstephensen

OS?

OSX El Capitan (10.11.13)

Versions.

angular-cli: 1.0.0-beta.11-webpack.8
node: 6.2.0
os: darwin x64

Repro steps.

Trying to run ng g component mycomp\thiscomp as per the CLI Reference

ng g component <path/to/component-name>  

I have tried several permutations, but the path gets ignored and the generated output gets put into the root of the project.

For example

ng g component mycomp\thiscomp
installing component
  create src/app/mycompthiscomp/mycompthiscomp.component.css
  create src/app/mycompthiscomp/mycompthiscomp.component.html
  create src/app/mycompthiscomp/mycompthiscomp.component.spec.ts
  create src/app/mycompthiscomp/mycompthiscomp.component.ts

Thanks for checking this out !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions