Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

Feature Request: Templates.

Open VictorioBerra opened this issue 5 years ago • 3 comments

dotnet new --install Electron.NET.Templates dotnet new electron-blazor

VictorioBerra avatar May 23 '20 19:05 VictorioBerra

@VictorioBerra This looks like something I may want to try to implement just to learn.

How do you think this should look? Would dotnet new electron-blazor create the default SPA app that is created with a new Blazor App + all the Electron.NET hookups? Or would a more tailored default app be better?

Do you have any specifics in mind?

(just for my future reference: https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools-how-to-create)

rbaker26 avatar Jul 04 '20 07:07 rbaker26

You could do it like https://github.com/Dotnet-Boxed/Templates

Where you have tons of configurable options but if you specify nothing you get the default. In this case I think you should get a working electron app with blazor with sensible defaults that you would want for any new project with reduced boilerplate.

VictorioBerra avatar Jul 04 '20 20:07 VictorioBerra

Cool, I'll take a look and see what I can come up with within my own fork. If it's something worth sharing, I link the PR to this issue.

rbaker26 avatar Jul 04 '20 20:07 rbaker26