.NET 8.0 razor-ssg Static Generated Razor Pages Project Template
Browse source code, view live demo razor-ssg.web-templates.io and install with dotnet-new:
$ dotnet tool install -g x
$ x new razor-ssg ProjectName
Alternatively write new project files directly into an razor-ssg repository, using the Directory Name as the ProjectName:
$ git clone https://github.com/<User>/<ProjectName>.git
$ cd <ProjectName>
$ x new razor-ssg
Documentation for this template is included at /posts/razor-ssg.
Tasks to run live reload Tailwind and .NET Razor Pages App during development:
$ npm run ui:dev
$ dotnet watch
Tasks to prerender and preview production ssg website build:
$ npm run prerender
$ npm run serve