Initial commit
This commit is contained in:
24
Oqtane.Client/Program.cs
Normal file
24
Oqtane.Client/Program.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using Microsoft.AspNetCore.Blazor.Hosting;
|
||||
|
||||
namespace Oqtane.Client
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
#if DEBUG || RELEASE
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#if WASM
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
CreateHostBuilder(args).Build().Run();
|
||||
}
|
||||
|
||||
public static IWebAssemblyHostBuilder CreateHostBuilder(string[] args) =>
|
||||
BlazorWebAssemblyHost.CreateDefaultBuilder()
|
||||
.UseBlazorStartup<Startup>();
|
||||
#endif
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user