Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.94 KB

README.md

File metadata and controls

62 lines (45 loc) · 1.94 KB

Welcome to the DotVVM-contrib!

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.

How To Use Them

  1. Run the Install-Package DotVVM.Contrib.XYZ in your project.

  2. In the DotvvmStartup.cs file, add the following line to register the controls:

config.AddContribXYZConfiguration();

List of Controls


How To Create Controls

  1. Clone the repository and open the command prompt in the root directory of the cloned repository.

  2. Install "dotnet new" template to start building the controls.

dotnet new -i ./Controls/_template
  1. Create a new directory for the control in the Controls directory and run the template (don't forget to substitute XYZ with the proper name of the control):
cd Controls
mkdir XYZ
cd XYZ
dotnet new dotvvm-contrib -n XYZ
  1. Open the solution and implement the control, sample app and Selenium tests.