feat: automatically run vite dev server when in Debugger mode. feat: supports hotreload on both js frontend and .net backend.
11 lines
246 B
C#
11 lines
246 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace WebApplication1;
|
|
|
|
public abstract class SiteControllerBase(ViteHelper vite) : ControllerBase
|
|
{
|
|
protected readonly ViteHelper viteHelper = vite;
|
|
|
|
public SiteControllerBase() : this(null) { }
|
|
}
|