SimplCommerce icon indicating copy to clipboard operation
SimplCommerce copied to clipboard

Add `dotnet new` templating for modules...

Open horseyhorsey opened this issue 5 years ago • 3 comments

As I developer of a module I would like to be able to dotnet new simplcommercemodule on command line to generate a Razor class library and any files needed to initialize a module.

Razorclasslib template

  • AssemblyName = xxx.Module.xxx

  • Edit csproj = http://docs.simplcommerce.com/en/latest/how-to-add-new-modules/

  • module.json

  • ModuleInitializer

  • Generate empty directories with common module structure.

    Areas, Data, Events, Models, Services, wwwroot
    

horseyhorsey avatar Mar 07 '19 10:03 horseyhorsey

This is great .. @thiennn I think we need to do this before the RTM release

hishamco avatar Jul 25 '19 23:07 hishamco

This is great!

TheFirstWhiteDream avatar Aug 03 '19 01:08 TheFirstWhiteDream

I've made a module template. How would you like it?

horseyhorsey avatar Jun 13 '20 00:06 horseyhorsey