Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Generated files name doesn't match the class name #16

Open
pistou opened this issue Jan 31, 2018 · 0 comments
Open

Generated files name doesn't match the class name #16

pistou opened this issue Jan 31, 2018 · 0 comments

Comments

@pistou
Copy link

pistou commented Jan 31, 2018

Let's say you want to run ionic generate page myPage (or my-page or MyPage, same issue)

You will find a new sub folder my with all my.* files
my

I would've expected something like my-page

Plus, the content is pretty strange to me
In my.ts

@Component({
    selector: 'page-my',
    templateUrl: 'my.html',
})

export class MyPage { ... }

page-myinstead of my-page, why is the selector reversed?
Class name is OK though.

info

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

No branches or pull requests

1 participant