IMPORTANT!
This forum is now archived. Click here for the New Support Forum
Angular template for Visual Studio
Quote from trailblazer2006 on February 26, 2018, 8:11 amHi.
In Your QuickApp Pro solution other component files likes HTML and stylesheet are attached to the typescript file.
What template do you use to create components?
Sincerely, Alexandr.
Hi.
In Your QuickApp Pro solution other component files likes HTML and stylesheet are attached to the typescript file.
What template do you use to create components?
Sincerely, Alexandr.
Quote from Eben Monney on March 1, 2018, 8:45 amHello,
Do you mean related files are grouped/nested together?
This is achieved with a VisualStudio plugin "File Nesting" from Mads Kristensen. You can get it free from this address: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.FileNestingIf you mean via code then this is an Angular/TypeScript syntax. You type it by hand. Using angular CLI to generate your components also automatically does this for you e.g.
@Component({ selector: 'about', templateUrl: './about.component.html', styleUrls: ['./about.component.scss'], animations: [fadeInOut] }) export class AboutComponent { }
Hello,
Do you mean related files are grouped/nested together?
This is achieved with a VisualStudio plugin "File Nesting" from Mads Kristensen. You can get it free from this address: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.FileNesting
If you mean via code then this is an Angular/TypeScript syntax. You type it by hand. Using angular CLI to generate your components also automatically does this for you e.g.
@Component({ selector: 'about', templateUrl: './about.component.html', styleUrls: ['./about.component.scss'], animations: [fadeInOut] }) export class AboutComponent { }
Quote from trailblazer2006 on March 1, 2018, 8:56 amThank you. This extension is exacltly what I want.
I use this extension to create components. It creates all the necessary files and classes, but I don't have an option to collapse multiple files off one component.
Regards, Alexandr.
Thank you. This extension is exacltly what I want.
I use this extension to create components. It creates all the necessary files and classes, but I don't have an option to collapse multiple files off one component.
Regards, Alexandr.
Quote from Eben Monney on March 1, 2018, 12:26 pmAa ok. The extension does that pretty well. With a fine control over how the nesting should be.
Aa ok. The extension does that pretty well. With a fine control over how the nesting should be.
IMPORTANT!
This forum is now archived. Click here for the New Support Forum