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

ionic g page auth/login makes app/pages/auth-login instead of app/pages/auth/login #7360

Closed
sathishvj opened this issue Jul 19, 2016 · 4 comments

Comments

@sathishvj
Copy link

Short description of the problem:

Sometimes I want to group some of my pages or providers under a folder. For example, authorization has a login page, signup page, forgot password page, etc. I would like to create pages like ionic g page auth/login.

What behavior are you expecting?

I was expecting a folder structure like app/pages/auth/login.
But I get app/pages/auth-login.

Similarly for other generators.

Steps to reproduce:

  1. create a new project
  2. ionic g page auth/login
  3. check folder structure under app/pages.

Which Ionic Version? 1.x or 2.x
2.x

Run ionic info from terminal/cmd prompt: (paste output below)

Cordova CLI: 6.0.0
Gulp version:  CLI version 3.8.1
Gulp local:   Local version 3.9.1
Ionic CLI Version: 2.0.0-beta.32
Ionic App Lib Version: 2.0.0-beta.18
ios-deploy version: Not installed
ios-sim version: 3.0.0
OS: Mac OS X El Capitan
Node Version: v5.6.0
Xcode version: Xcode 7.3.1 Build version 7D1014
@jgw96
Copy link
Contributor

jgw96 commented Jul 19, 2016

This issue was moved to ionic-team/ionic-camera-component-demo#1

@jgw96 jgw96 closed this as completed Jul 19, 2016
@jgw96
Copy link
Contributor

jgw96 commented Jul 19, 2016

Hello, as this was an issue with the cli and not the framework I have moved this issue over to that repo. Thanks for using Ionic!

@alexbainbridge
Copy link

@jgw96 Think you moved it to a camera component rather than CLI :)

Incidentally, I had a similar request ionic-team/ionic-cli#868

@jgw96
Copy link
Contributor

jgw96 commented Jul 19, 2016

Ahh sorry @alexbainbridge. Thanks for the heads up!

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 8, 2018
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

4 participants