Skip to content

Commit

Permalink
Update 2024-03-01_vite-press-plugin.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 25, 2024
1 parent de959dd commit d2e4ef8
Showing 1 changed file with 38 additions and 5 deletions.
43 changes: 38 additions & 5 deletions src/_posts/2024-03-01_vite-press-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,36 @@ The **vite-press-plugin** currently powers the markdown features in the followin

#### Vite Templates with vite-press-plugin

- [press-vue](https://press-vue.web-templates.io) - Vite Vue App
- [press-react](https://press-react.web-templates.io) - Vite React App
- [press-vue](https://press-vue.web-templates.io) - Vite Vue App
- [press-react](https://press-react.web-templates.io) - Vite React App

<div class="not-prose mt-8 grid grid-cols-2 gap-4">
<a class="block group border dark:border-gray-800 hover:border-indigo-700 dark:hover:border-indigo-700 flex flex-col justify-between" href="https://press-vue.servicestack.net">
<img class="p-2" src="https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/press-vue.png" />
<div class="bg-gray-50 dark:bg-gray-800 text-gray-600 dark:text-gray-300 font-semibold group-hover:bg-indigo-700 group-hover:text-white text-center py-2">press-vue.servicestack.net</div>
</a>
<a class="block group border dark:border-gray-800 hover:border-indigo-700 dark:hover:border-indigo-700 flex flex-col justify-between" href="https://press-react.servicestack.net">
<img class="p-2" src="https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/press-react.png" />
<div class="bg-gray-50 dark:bg-gray-800 text-gray-600 dark:text-gray-300 font-semibold group-hover:bg-indigo-700 group-hover:text-white text-center py-2">press-react.servicestack.net</div>
</a>
</div>

#### .NET 8 API backend with Vite Vue & React SPA frontend

- [vue-spa](https://vue-spa.web-templates.io) - .NET 8 API with Vite Vue SPA frontend
- [react-spa](https://react-spa.web-templates.io) - .NET 8 API with Vite React SPA frontend

<div class="not-prose mt-8 grid grid-cols-2 gap-4">
<a class="block group border dark:border-gray-800 hover:border-indigo-700 dark:hover:border-indigo-700 flex flex-col justify-between" href="https://vue-spa.web-templates.io">
<img class="p-2" src="https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/vue-spa.png" />
<div class="bg-gray-50 dark:bg-gray-800 text-gray-600 dark:text-gray-300 font-semibold group-hover:bg-indigo-700 group-hover:text-white text-center py-2">vue-spa.web-templates.io</div>
</a>
<a class="block group border dark:border-gray-800 hover:border-indigo-700 dark:hover:border-indigo-700 flex flex-col justify-between" href="https://react-spa.web-templates.io">
<img class="p-2" src="https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/react-spa.png" />
<div class="bg-gray-50 dark:bg-gray-800 text-gray-600 dark:text-gray-300 font-semibold group-hover:bg-indigo-700 group-hover:text-white text-center py-2">react-spa.web-templates.io</div>
</a>
</div>

The **vite-press-plugin** makes the Markdown features available to the Vite App, whilst the markdown rendering itself is optimally
implemented in:

Expand All @@ -45,8 +67,19 @@ and rendered with [Markdig](https://github.com/xoofx/markdig) and either Razor P
#### .NET 8 Razor SSG and Blazor SSR Templates

- [razor-ssg](https://razor-ssg.web-templates.io) - .NET Razor SSG Blog and Marketing Website with **Markdig**
- [razor-press](https://razor-press.web-templates.io) - .NET Razor SSG Documentation Website with **Markdig**
- [blazor-vue](https://blazor-vue.web-templates.io) - .NET 8 Blazor Server Rendered Website with **Markdig**
- [razor-press](https://razor-press.web-templates.io) - .NET Razor SSG Documentation Website with **Markdig**

<div class="not-prose mt-8 grid grid-cols-2 gap-4">
<a class="block group border dark:border-gray-800 hover:border-indigo-700 dark:hover:border-indigo-700 flex flex-col justify-between" href="https://razor-ssg.web-templates.io">
<img class="p-2" src="https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/razor-ssg.png" />
<div class="bg-gray-50 dark:bg-gray-800 text-gray-600 dark:text-gray-300 font-semibold group-hover:bg-indigo-700 group-hover:text-white text-center py-2">razor-ssg.web-templates.io</div>
</a>
<a class="block group border dark:border-gray-800 hover:border-indigo-700 dark:hover:border-indigo-700 flex flex-col justify-between" href="https://blazor-vue.web-templates.io">
<img class="p-2" src="https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/blazor-vue.png" />
<div class="bg-gray-50 dark:bg-gray-800 text-gray-600 dark:text-gray-300 font-semibold group-hover:bg-indigo-700 group-hover:text-white text-center py-2">blazor-vue.web-templates.io</div>
</a>
</div>

### Markdown Feature Folders

Expand Down Expand Up @@ -433,13 +466,13 @@ Similarly the **sh** container is ideal for displaying and copying shell command
#### Input

:::sh
npm run prerender
npm run dev
:::

#### Output

:::sh
npm run prerender
npm run dev
:::

### YouTube
Expand Down

0 comments on commit d2e4ef8

Please sign in to comment.