Skip to content

.NET 8 Statically Generated, CDN hostable Razor Pages Documentation

Notifications You must be signed in to change notification settings

NetCoreTemplates/razor-press

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

razor-press

.NET 6.0 razor-press Static Generated Razor Pages Project Template

Browse source code, view live demo razor-press.web-templates.io and install with dotnet-new:

$ dotnet tool install -g x

$ x new razor-press ProjectName

Alternatively write new project files directly into an razor-press repository, using the Directory Name as the ProjectName:

$ git clone https://github.com/<User>/<ProjectName>.git
$ cd <ProjectName>
$ x new razor-press

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

About

.NET 8 Statically Generated, CDN hostable Razor Pages Documentation

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published