This repository contains some templates for starting new Umbraco package projects.
The templates can be used via the dotnet new
command.
You must be using Visual Studio 2019 to work with these templates.
You can install all the templates from a NuGet package:
dotnet new -i Umbraco.Tools.Packages.Templates
To check for any updates you can run the dotnet new --update-check
command.
The dotnet new --update-apply
command will update any of the installed template packages you have installed.
All Umbraco package templates are prefixed umbraco-
. To see what Umbraco related templates you have installed:
dotnet new umbraco -l
You can get a list of all available templates in the docs
Supply the name of the project on the command line, this will setup the namespaces and folders within the project:
dotnet new umbraco-v8-package -n MySuperNewPackage
Contributions are welcome! Please read our Contribution Guidelines for the steps to add new templates.
If you want to develop/extend these templates for your own use you should install them individually from your source folder. For example:
dotnet new -i c:\source\Package.Templates\ItemTemplates\Dashboard