Skip to content

Commit 63c21d4

Browse files
committed
Rename react-vite to react-static
1 parent adae287 commit 63c21d4

File tree

16 files changed

+987
-132
lines changed

16 files changed

+987
-132
lines changed

MyApp/Pages/Start.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ const App = {
260260
<h2 class="my-8 tracking-tight font-semibold text-xl text-slate-600">Tailwind SPA Templates</h2>
261261
<div class="flex flex-wrap justify-center gap-x-2">
262262
<div>
263-
<ProjectTemplate :name="name" :mix="mixTags" repo="NetCoreTemplates/react-vite" :tags="['empty','vite']" :count="count('react-vite')">
264-
<div class="mb-3 text-xl font-medium text-gray-700 dark:text-gray-200">React Vite</div>
263+
<ProjectTemplate :name="name" :mix="mixTags" repo="NetCoreTemplates/react-static" :tags="['empty','vite']" :count="count('react-static')">
264+
<div class="mb-3 text-xl font-medium text-gray-700 dark:text-gray-200">React Static</div>
265265
<template #icon>
266266
<svg class="w-12 h-12 text-indigo-600" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 10.11c1.03 0 1.87.84 1.87 1.89c0 1-.84 1.85-1.87 1.85c-1.03 0-1.87-.85-1.87-1.85c0-1.05.84-1.89 1.87-1.89M7.37 20c.63.38 2.01-.2 3.6-1.7c-.52-.59-1.03-1.23-1.51-1.9a22.7 22.7 0 0 1-2.4-.36c-.51 2.14-.32 3.61.31 3.96m.71-5.74l-.29-.51c-.11.29-.22.58-.29.86c.27.06.57.11.88.16l-.3-.51m6.54-.76l.81-1.5l-.81-1.5c-.3-.53-.62-1-.91-1.47C13.17 9 12.6 9 12 9c-.6 0-1.17 0-1.71.03c-.29.47-.61.94-.91 1.47L8.57 12l.81 1.5c.3.53.62 1 .91 1.47c.54.03 1.11.03 1.71.03c.6 0 1.17 0 1.71-.03c.29-.47.61-.94.91-1.47M12 6.78c-.19.22-.39.45-.59.72h1.18c-.2-.27-.4-.5-.59-.72m0 10.44c.19-.22.39-.45.59-.72h-1.18c.2.27.4.5.59.72M16.62 4c-.62-.38-2 .2-3.59 1.7c.52.59 1.03 1.23 1.51 1.9c.82.08 1.63.2 2.4.36c.51-2.14.32-3.61-.32-3.96m-.7 5.74l.29.51c.11-.29.22-.58.29-.86c-.27-.06-.57-.11-.88-.16l.3.51m1.45-7.05c1.47.84 1.63 3.05 1.01 5.63c2.54.75 4.37 1.99 4.37 3.68c0 1.69-1.83 2.93-4.37 3.68c.62 2.58.46 4.79-1.01 5.63c-1.46.84-3.45-.12-5.37-1.95c-1.92 1.83-3.91 2.79-5.38 1.95c-1.46-.84-1.62-3.05-1-5.63c-2.54-.75-4.37-1.99-4.37-3.68c0-1.69 1.83-2.93 4.37-3.68c-.62-2.58-.46-4.79 1-5.63c1.47-.84 3.46.12 5.38 1.95c1.92-1.83 3.91-2.79 5.37-1.95M17.08 12c.34.75.64 1.5.89 2.26c2.1-.63 3.28-1.53 3.28-2.26c0-.73-1.18-1.63-3.28-2.26c-.25.76-.55 1.51-.89 2.26M6.92 12c-.34-.75-.64-1.5-.89-2.26c-2.1.63-3.28 1.53-3.28 2.26c0 .73 1.18 1.63 3.28 2.26c.25-.76.55-1.51.89-2.26m9 2.26l-.3.51c.31-.05.61-.1.88-.16c-.07-.28-.18-.57-.29-.86l-.29.51m-2.89 4.04c1.59 1.5 2.97 2.08 3.59 1.7c.64-.35.83-1.82.32-3.96c-.77.16-1.58.28-2.4.36c-.48.67-.99 1.31-1.51 1.9M8.08 9.74l.3-.51c-.31.05-.61.1-.88.16c.07.28.18.57.29.86l.29-.51m2.89-4.04C9.38 4.2 8 3.62 7.37 4c-.63.35-.82 1.82-.31 3.96a22.7 22.7 0 0 1 2.4-.36c.48-.67.99-1.31 1.51-1.9Z"/></svg>
267267
</template>

MyApp/_posts/2025-11-13_react.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ We're introducing three production-ready React templates, each optimized for dif
7070

7171

7272
<react-template
73-
name="react-vite"
73+
name="react-static"
7474
description="A lightweight foundation built with React + Vite + TypeScript + Tailwind CSS—the ideal blank slate starting point for AI-generated UIs."></react-template>
7575

7676
<react-template
@@ -115,7 +115,7 @@ As AI Models are not as adept at generating C# APIs or Migrations yet, they exce
115115

116116
With just a TypeScript Definition:
117117

118-
- [Bookings.d.ts](https://github.com/NetCoreTemplates/react-vite/blob/main/MyApp.ServiceModel/Bookings.d.ts)
118+
- [Bookings.d.ts](https://github.com/NetCoreTemplates/react-static/blob/main/MyApp.ServiceModel/Bookings.d.ts)
119119

120120
We can generate all the AutoQuery CRUD APIs and DB Migrations needed to enable a CRUD UI with:
121121

@@ -192,11 +192,11 @@ There are a number of options for starting with an AI generated Application, wit
192192
### Use GitHub Copilot when creating a new Repository
193193

194194
If you're using [GitHub Copilot](https://copilot.github.com/) you can also use it to generate a new App
195-
[from the Vite React template ](https://github.com/new?template_name=react-vite&template_owner=NetCoreTemplates):
195+
[from the Vite React template ](https://github.com/new?template_name=react-static&template_owner=NetCoreTemplates):
196196

197197
:::{.not-prose}
198198
:::{.my-8 .max-w-3xl .mx-auto .rounded-lg .overflow-hidden .shadow .hover:shadow-xl}
199-
[![](/img/posts/react/react-new-repo.webp)](https://github.com/new?template_name=react-vite&template_owner=NetCoreTemplates)
199+
[![](/img/posts/react/react-new-repo.webp)](https://github.com/new?template_name=react-static&template_owner=NetCoreTemplates)
200200
:::
201201
:::
202202

MyApp/_whatsnew/2025-11-12_v8.10/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ order: 1
88
First-class React support optimized for AI-assisted development with new React Component Library & Project Templates. React and Tailwind have emerged as de facto standards for AI-generated UIs, with every major platform converging on this UI. ServiceStack's architecture is uniquely suited for AI development with declarative typed APIs, unambiguious integrations and end-to-end type safety—giving AI models full context they need to generate high-quality code.
99

1010
Three production-ready templates are now available:
11-
- **react-vite** (lightweight foundation)
11+
- **react-static** (lightweight foundation)
1212
- **react-spa** (comprehensive SPA with ASP.NET Core Identity)
1313
- **nextjs** (server-side rendering).
1414

0 commit comments

Comments
 (0)