Open clodbrasilino opened 5 years ago
Could you please explain to me what an Angular page is? I think it's not part of the official Angular components (like "component", "module" or "pipe").
@PKief This does not seem to be any convention of Angular.
Do use conventional type names including .service, .component, .pipe, .module, and .directive. Invent additional type names if you must but take care not to create too many.
@clodbrasilino Unless the .page.ts
file is used in some bigger project it will not be added.
I’m sorry guys, it’s not angular related. The .page.ts extension is from the Ionic Framework.
Do this plugin support icons for Ionic Framework?
This extension supports the following file names for ionic
Are there some file extensions or file names missing for ionic? If there'd be more than *.page
I could imagine to create some additional icons, same as for the angular file names.
@PKief until now that's the only filetype extension I'm missing.
It's just an Ionic Framework convention the extension .page.ts
. Maybe designing this icon would not be cool? Since we can use any name, just the .ts
extension that must show up, maybe it's not a good idea to put an icon on it. But the Ionic CLI generates this extension by default.
@coldrasilino what is it for?
It's where you put TypeScript code for the pages you build in Ionic (there's a html, a Sass and a TS angular component).
Is it a mix of the 3? Is there a link to docs with syntax?
The docs don't explain it clearly. What we have is:
An created Ionic Page (using Angular framework, through Ionic CLI) is composed of 5 files:
.page.html
file having HTML description of the page; (HTML icon here).page.scss
file containing SASS declarations; (SASS icon here).module.ts
file containing Angular module description; (Angular red icon here).page.spec.ts
file containing tests; (blue Erlenmeyer icon here).page.ts
file containing Angular component code. (blue TypeScript icon here)I thought that maybe the last one should have a more friendly icon (maybe related to Ionic)?
Please use another color and put an angular page icon.
files with .page.ts extension.
Thanks!