Skip to content

vulcanlee/Prism-MAUI-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

擴充與客製化 Prism-MAUI 的專案樣板

會用到的指令為

  • 切換到工作目錄

d:

cd D:\Vulcan\GitHub\Prism-MAUI-Template\src

  • 產生出 NuGet 套件

d:\nuget.exe pack D:\Vulcan\GitHub\Prism-MAUI-Template\Vulcan.Maui.Template.nuspec -outputdirectory d:\temp

  • 安裝此 NuGet 套件 - 此專案範本

Install template

dotnet new install d:\temp\Vulcan.Maui.Template.0.5.0.nupkg

  • 使用此專案範本,產生一個新的專案

Create a new empty project of Prism.Maui

dotnet new Vulcan-Maui -o d:\Temp\MyApp

  • 建立 View / ViewModel 項目

Create a new View and ViewModel for Native MAUI Project (don't append Page to view-name parameter)

dotnet new MVVMItem --namespace MyApp --view-name MyFirst

Create a new View and ViewModel for Prism MAUI Project (don't append Page to view-name parameter)

dotnet new MVVMPrismItem --namespace MyApp --view-name MyFirst

  • 移除此專案範本

dotnet new uninstall Vulcan.Maui.Template

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages