1.2.0 • Published 5 years ago

mvcct-templates v1.2.0

Weekly downloads
113
License
https://github.co...
Repository
github
Last release
5 years ago

mvcct-templates

current version: 1.2.0.

mvcct-templates installs content files needed by the Mvc Controls Toolkit into an asp.net core project. It is available on npm. Just install it after you have installed all other npm and Bower dependencies, and it'll add:

  1. Shared partial views to handle enhanced validation scripts, globalization scripts, html5 fallback widget scripts and css.
  2. Javascript mvcct-enhancer startup+option file under the folder wwwroot/startupjs.
  3. 2 Javascript files containing tasks to:
    • create a minimized version of the globalize library under wwwroot/lib/globalize (you may add more modules if needed by editing this file), and to move culture files to deploy under wwwroot/lib/globalize.
    • minimize the mvcct-enhancer startup+options file
  4. update or create a libman.json file with the JavaScript libraries from point 1 partial views

Important: 1.1.2 version fixed a JavaScript critical run. Developers, who scaffolded a project prior to that version must fix manually the bug, since the mvcct-templates can't be run twice on the same project. The fix is as follows:

Move the line of code:

<script src="~/lib/mvcct-enhancer/mvcct.enhancer.min.js"></script>

from Views\Shared\_EnhancementFallbackPartial.cshtml to Views\Shared\_GlobalizationScriptsPartial.cshtml just after @using System.Globalization, as shown in the snippet below:

@using System.Globalization
<script src="~/lib/mvcct-enhancer/mvcct.enhancer.min.js"></script>

This project is part of the Mvc Controls Toolkit . You can find instructions, documentation and more information on the Mvc Controls Toolkit in the Home repository

1.2.0

5 years ago

1.1.5

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.1.0-rc10

8 years ago

1.1.0-rc9

8 years ago

1.1.0-rc8

8 years ago

1.1.0-rc7

8 years ago

1.1.0-rc6

8 years ago

1.1.0-rc5

8 years ago

1.1.0-rc4

8 years ago

1.1.0-rc3

8 years ago

1.1.0-rc2

8 years ago

1.1.0-rc1

8 years ago

1.0.0

8 years ago

1.0.0-rc1

8 years ago

1.0.0-alfa10

8 years ago

1.0.0-alfa9

8 years ago

1.0.0-alfa8

8 years ago

1.0.0-alfa7

8 years ago

1.0.0-alfa6

8 years ago

1.0.0-alfa5

8 years ago

1.0.0-alfa4

8 years ago

1.0.0-alfa3

8 years ago

1.0.0-alfa2

8 years ago

1.0.0-alfa1

8 years ago