scaffold-templates-core/Templates
Georgi Yankov 4acd33d5ca fix: scaffold views with complex model telerik/kendo-ui-core#6290 2022-05-26 10:08:44 +03:00
..
ControllerGenerator Workaround for Controller naming in scaffolder 2019-02-20 12:35:17 -05:00
RazorPageGenerator fix(editor): nullable DateTime and Numeric should output Kendo taghelpers 2019-03-15 09:06:23 +02:00
ViewGenerator fix: scaffold views with complex model telerik/kendo-ui-core#6290 2022-05-26 10:08:44 +03:00
ViewGenerator_Versioned/Bootstrap3 fix(scaffolder): generate templates using primary key telerik/kendo-ui-core#5225 2019-08-19 13:43:55 +03:00
Readme.md updated with versioned files and enhanced kendo experience 2019-03-06 17:52:09 -05:00

Readme.md

Template logic

The template logic for ASP.NET 2.2+ is as follows.

  1. Scaffolding checks for the Bootstrap version number under the path wwwroot\lib\bootstrap\dist\js\bootstrap.js.
  2. The process attempts to discern the existing bootstrap version and provide appropriate content. If no bootstrap version is detected, the generated default content is for bootstrap 4.
  3. The bootstrap 4 content goes into the directory: Templates\ViewGenerator\
  4. The bootstrap 3 content goes into the directory: Templates\ViewGenerator_Versioned\Bootstrap3\