This is an official repository of community controls for DotVVM. Feel free to send us pull requests with your contributions.
The controls are published on NuGet regularly.
-
Run the
Install-Package DotVVM.Contrib.XYZin your project. -
In the
DotvvmStartup.csfile, add the following line to register the controls:
config.AddContribXYZConfiguration();
- BootstrapColorpicker
- BootstrapDatepicker
- CkEditorMinimal
- CkEditor5Minimal
- CookieBar
- EditableForm
- FAIcon
- GoogleAnalyticsJavascript
- GoogleMap
- HeroIcon
- Humanizer
- InstallBar
- LoadablePanel
- MonacoEditor
- MultilevelMenu
- NoUiSlider
- PolicyView
- PolymorphTemplateSelector
- QrCode
- Select2
- SvgParser
- TemplateSelector
- TypeAhead
CkEditor5Minimal loads CKEditor 5 from jsDelivr at runtime; CKEditor 5 is not included in this repository or its NuGet package. CKEditor 5 is separately dual-licensed under GPL and commercial terms. The control defaults to the GPL license key, and consumers are responsible for ensuring their use complies with the GPL or for configuring a valid commercial license key.
-
Clone the repository and open the command prompt in the root directory of the cloned repository.
-
Install "dotnet new" template to start building the controls.
dotnet new -i ./Controls/_template
- Create a new directory for the control in the
Controlsdirectory and run the template (don't forget to substituteXYZwith the proper name of the control):
cd Controls
mkdir XYZ
cd XYZ
dotnet new dotvvm-contrib -n XYZ
- Open the solution and implement the control, sample app and Selenium tests.