An open API service indexing awesome lists of open source software.

https://github.com/servicestack/jamstacks.net

jamstacks.net website
https://github.com/servicestack/jamstacks.net

Last synced: 6 months ago
JSON representation

jamstacks.net website

Awesome Lists containing this project

README

          

# razor-ssg

.NET 8.0 razor-ssg Static Generated Razor Pages Project Template

[![](https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/razor-ssg.png)](https://razor-ssg.web-templates.io)

> Browse [source code](https://github.com/NetCoreTemplates/razor-ssg), view live demo [razor-ssg.web-templates.io](https://razor-ssg.web-templates.io) and install with [dotnet-new](https://docs.servicestack.net/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//.git
$ cd
$ x new razor-ssg

## Documentation

Documentation for this template is included at [/posts/razor-ssg](https://razor-ssg.web-templates.io/posts/razor-ssg).

## Development Tasks

Tasks to run live reload Tailwind and .NET Razor Pages App during development:

### Run Tailwind in Background

$ npm run ui:dev

### Run .NET App with Live Reload

$ dotnet watch

## Local Production Tasks

Tasks to prerender and preview production ssg website build:

### Prerender website

$ npm run prerender

### Preview pre-rendered website

$ npm run serve