EasyAbp / AbpHelper.CLI

Providing code generation and more features to help you develop applications and modules with the ABP framework.
MIT License
285 stars 95 forks source link

Subfolder Created under Pages Folder Razor Page #186

Open zaktecs opened 1 year ago

zaktecs commented 1 year ago

Hi, I'm not sure if I'm doing something wrong somewhere. When i generate CRUD in my razor pages, it creates to sub folder per class in the pages folder. e.g Class: Person then it will create

Pages => Person > Person (Index, Create, Edit)

How can I stop this from happening?

Thanks

Zak

gdlcf88 commented 1 year ago

I agree that the second "Person" folder is redundant.

If you want, you are welcome to create a PR to do these changes:

  1. Change the folder structure as described above.
  2. Implement the sub-entity management UI generation. It's different from the UI of an aggregate root. For example, we should use persons.person.get(id).pets instead of persons.personPet.getList().