-
Notifications
You must be signed in to change notification settings - Fork 660
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
RC-0: Name pattern of generated pages #1442
Comments
From @ramonornela on September 30, 2016 14:20 Not see problem Uninstall Ionic CLI first, and then reinstall
Thanks |
Close issue reproduced in project https://github.com/ramonornela/ionic_playground_rc0/commit/93fd132c7bd019f135241b06ca4a801a6f96077f installed cli local in project. see page created https://github.com/ramonornela/ionic_playground_rc0/blob/93fd132c7bd019f135241b06ca4a801a6f96077f/src/pages/my-page/my-page.ts Code reported are of the templates of beta.11.
Thanks |
I have uninstalled ionic cli before installed the rc In beta In RC |
Please run |
Your system information: Cordova CLI: 6.3.1 *** When I open the issue, I give a bad exemple in step 3 |
What version NPM? |
$ npm --v |
1 - Install bin in project |
Is suffix, problem with template generator in Ionic Thanks |
Related ionic-team/ionic-framework#8368 |
Hey guys, thank you for the great work. |
Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue. Thank you for using Ionic! |
From @ecureuill on September 29, 2016 20:7
Short description of the problem:
Ionic CLI generate page command doesn't add 'Page' sufix to the class name
What behavior are you expecting?
When generating new page through ionic cli, the class name of the .ts file generated should contains Page at the end of the name
Steps to reproduce:
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Like in ionic beta, set "Page" to the ClassName variable
Which Ionic Version? 1.x or 2.x
2 RC0
Run
ionic info
from terminal/cmd prompt: (paste output below)Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Distributor ID: Debian Description: Debian GNU/Linux 8.6 (jessie)
Node Version: v4.5.0
Copied from original issue: ionic-team/ionic-framework#8320
The text was updated successfully, but these errors were encountered: