Skip to content

Commit 64973e7

Browse files
committed
Move vue-mjs to LegacyTemplates
1 parent f314df6 commit 64973e7

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

MyApp/_includes/web-new-netcore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
| [blazor-vue](https://github.com/NetCoreTemplates/blazor-vue) | .NET 10 Blazor Vue App with Tailwind |
1313
| [vue-vite](https://github.com/NetCoreTemplates/vue-vite) | .NET 10 Jamstack Vue Vite App with Tailwind |
1414
| [vue-spa](https://github.com/NetCoreTemplates/vue-spa) | .NET 10 Vue Vite TypeScript SPA with Tailwind |
15-
| [vue-mjs](https://github.com/NetCoreTemplates/vue-mjs) | .NET 10 Simple, Modern Vue ServiceStack Auth App with Tailwind |
15+
| [vue-mjs](https://github.com/LegacyTemplates/vue-mjs) | .NET 10 Simple, Modern Vue ServiceStack Auth App with Tailwind |
1616
| [razor-ssg](https://github.com/NetCoreTemplates/razor-ssg) | .NET 10 Razor SSG App with Tailwind |
1717
| [razor-press](https://github.com/NetCoreTemplates/razor-press) | .NET 10 Razor Press Documentation Site with Tailwind |
1818
| [razor-pages](https://github.com/NetCoreTemplates/razor-pages) | .NET 10 Razor Pages App with Tailwind |

MyApp/_pages/releases/v6_06.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ client.api(new Hello({ name }))
600600
```
601601
602602
You'll typically use all these libraries in your **API-enabled** components as seen in the
603-
[HelloApi.mjs](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/wwwroot/mjs/components/HelloApi.mjs)
603+
[HelloApi.mjs](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/wwwroot/mjs/components/HelloApi.mjs)
604604
component on the [home page](https://vue-mjs.web-templates.io) which calls its [Hello API](https://vue-mjs.web-templates.io/ui/Hello) on each key press:
605605
606606
```js
@@ -668,7 +668,7 @@ let {
668668
#### setError
669669
670670
`setError` can be used to populate client-side validation errors which the
671-
[SignUp.mjs](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/wwwroot/Pages/SignUp.mjs)
671+
[SignUp.mjs](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/wwwroot/Pages/SignUp.mjs)
672672
component uses to report an invalid submissions when passwords don't match:
673673
674674
```js
@@ -980,7 +980,7 @@ const {
980980
} = useAuth()
981981
```
982982
983-
This is used in [Bookings.mjs](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/wwwroot/Pages/Bookings.mjs)
983+
This is used in [Bookings.mjs](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/wwwroot/Pages/Bookings.mjs)
984984
to control whether the `<AutoEditForm>` component should enable its delete functionality:
985985
986986
```js
@@ -1017,7 +1017,7 @@ function validateSafeName(e) {
10171017
#### TypeScript static analysis during development
10181018
10191019
Whilst the code-base doesn't use TypeScript syntax in its code base directly, it still benefits from TypeScript's language services in IDEs for the included libraries from the TypeScript definitions included in `/lib/typings`, downloaded in
1020-
[postinstall.js](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/postinstall.js) after **npm install**.
1020+
[postinstall.js](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/postinstall.js) after **npm install**.
10211021
10221022
### Import Maps
10231023
@@ -1110,7 +1110,7 @@ We can get SPA-like page loading performance using htmx's [Boosting](https://htm
11101110
by converting all anchor tags to use Ajax to load page content into the page body, improving performance from avoiding needing to reload
11111111
scripts and CSS in `<head>`
11121112
1113-
This is used in [Header.cshtml](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/Pages/Shared/Header.cshtml) to **boost** all
1113+
This is used in [Header.cshtml](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/Pages/Shared/Header.cshtml) to **boost** all
11141114
main navigation links:
11151115
11161116
```html
@@ -1142,7 +1142,7 @@ Whilst not required, the **vue-mjs** template also includes support for pre-rend
11421142
11431143
Prerendering static content is a popular technique used by JAMStack Apps to improve the performance, reliability and scalability of Web Apps that's able to save unnecessary computation at runtime by generating static content at deployment which can be optionally hosted from a CDN for even greater performance.
11441144
1145-
As such we thought it a valuable technique to include the **vue-mjs** template to show how it can be easily achieved within a Razor Pages App. Since prerendered content is only updated at deployment, it's primarily only useful for static content like [this Blog](https://vue-mjs.web-templates.io/blog/prerendering) which is powered by the static markdown content in [_blog/posts](https://github.com/NetCoreTemplates/vue-mjs/tree/main/MyApp/wwwroot/_blog/posts) whose content is prerendered to `/wwwroot/blog`.
1145+
As such we thought it a valuable technique to include the **vue-mjs** template to show how it can be easily achieved within a Razor Pages App. Since prerendered content is only updated at deployment, it's primarily only useful for static content like [this Blog](https://vue-mjs.web-templates.io/blog/prerendering) which is powered by the static markdown content in [_blog/posts](https://github.com/LegacyTemplates/vue-mjs/tree/main/MyApp/wwwroot/_blog/posts) whose content is prerendered to `/wwwroot/blog`.
11461146
11471147
For those interested in utilizing this optimization we've published details on how this works in the
11481148
**[Prerendering Razor Pages](https://vue-mjs.web-templates.io/blog/prerendering)** blog post.

MyApp/_pages/releases/v6_09.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ to include both a Razor Pages [server rendered Admin UI](https://vue-mjs.web-tem
475475

476476
As well as a
477477
[client rendered Admin UI](https://vue-mjs.web-templates.io/portal/) created from a single static
478-
[index.html](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/wwwroot/portal/index.html)
478+
[index.html](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/wwwroot/portal/index.html)
479479

480480
<div class="not-prose my-8">
481481
<a href="https://vue-mjs.web-templates.io/portal/" class="max-w-4xl">
@@ -659,7 +659,7 @@ const sections = {
659659
660660
For developers preferring to develop Server rendered Web Apps the **vue-mjs** project template also includes a
661661
Multi Page App (MPA) Razor Pages & Vue App which defines the Admin Sections in the custom C#
662-
[Admin/_Layout.cshtml](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/_Layout.cshtml)
662+
[Admin/_Layout.cshtml](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/_Layout.cshtml)
663663
664664
```csharp
665665
(string label, string href, string icon)[] sections =
@@ -672,7 +672,7 @@ Multi Page App (MPA) Razor Pages & Vue App which defines the Admin Sections in t
672672
673673
Where each section links to the different Admin UI Razor Pages:
674674
675-
#### [Admin/Index.cshtml](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Index.cshtml)
675+
#### [Admin/Index.cshtml](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Index.cshtml)
676676
677677
Generates the Admin UI Dashboard which retrieves the data for the page from the `AdminData` API invoked
678678
with the internal [Service Gateway](/service-gateway):
@@ -697,7 +697,7 @@ with the internal [Service Gateway](/service-gateway):
697697
</div>
698698
```
699699
700-
#### [Admin/Bookings.cshtml](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Bookings.cshtml)
700+
#### [Admin/Bookings.cshtml](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Bookings.cshtml)
701701
702702
Defines the same responsive AutoQueryGrid to manage the Bookings RDBMS Table:
703703
@@ -713,7 +713,7 @@ Defines the same responsive AutoQueryGrid to manage the Bookings RDBMS Table:
713713
:visible-from="{ roomNumber:'lg', cost:'md', couponId:'xl', discount:'never' }" ></auto-query-grid>
714714
```
715715
716-
#### [Admin/Coupons.cshtml](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Coupons.cshtml)
716+
#### [Admin/Coupons.cshtml](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Coupons.cshtml)
717717
718718
Utilizes the default AutoQueryGrid component to manage the Coupons RDBMS Table:
719719
@@ -731,7 +731,7 @@ Utilizes the default AutoQueryGrid component to manage the Coupons RDBMS Table:
731731
Easiest way to start creating Custom Admin UIs is to start with a new **vue-mjs** Razor Pages template containing both
732732
client and server rendered Admin UIs:
733733
734-
<div class="not-prose flex justify-center"><a class="hover:no-underline" href="https://account.servicestack.net/archive/NetCoreTemplates/vue-mjs?Name=MyApp">
734+
<div class="not-prose flex justify-center"><a class="hover:no-underline" href="https://account.servicestack.net/archive/LegacyTemplates/vue-mjs?Name=MyApp">
735735
<div class="bg-white dark:bg-gray-800 px-4 py-4 mr-4 mb-4 rounded-lg shadow-lg text-center items-center justify-center hover:shadow-2xl dark:border-2 dark:border-pink-600 dark:hover:border-blue-600 dark:border-2 dark:border-pink-600 dark:hover:border-blue-600"
736736
style="min-width: 150px;">
737737
<div class="text-center font-extrabold flex items-center justify-center mb-2">
@@ -753,13 +753,13 @@ client and server rendered Admin UIs:
753753
Alternatively you can download their pages to incorporate them into your existing Tailwind Projects:
754754
755755
**Client Admin UI**
756-
- [/portal/index.html](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/wwwroot/portal/index.html)
756+
- [/portal/index.html](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/wwwroot/portal/index.html)
757757
758758
**Server Admin UI**
759-
- [_Layout.cshtml](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/_Layout.cshtml)
760-
- [Index.cshtml](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Index.cshtml)
761-
- [Bookings.cshtml](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Bookings.cshtml)
762-
- [Coupons.cshtml](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Coupons.cshtml)
759+
- [_Layout.cshtml](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/_Layout.cshtml)
760+
- [Index.cshtml](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Index.cshtml)
761+
- [Bookings.cshtml](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Bookings.cshtml)
762+
- [Coupons.cshtml](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/Pages/Admin/Coupons.cshtml)
763763
764764
765765

MyApp/_pages/vue/use-client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ let api = await client.api(new Hello(unRefs({ name })))
5454
### setError
5555

5656
`setError` can be used to populate client-side validation errors which the
57-
[SignUp.mjs](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/wwwroot/Pages/SignUp.mjs)
57+
[SignUp.mjs](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/wwwroot/Pages/SignUp.mjs)
5858
component uses to report an invalid submissions when passwords don't match:
5959

6060
```js
@@ -190,7 +190,7 @@ Input Components are able to automatically apply contextual validation errors ne
190190

191191
An alternative method of invoking APIs is to submit a HTML Form Post which can be achieved with Ajax by sending a populated `FormData`
192192
with `client.apiForm()` as done in vue-mjs's
193-
[SignUp.mjs](https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/wwwroot/Pages/SignUp.mjs) for its
193+
[SignUp.mjs](https://github.com/LegacyTemplates/vue-mjs/blob/main/MyApp/wwwroot/Pages/SignUp.mjs) for its
194194
[/signup](https://vue-mjs.web-templates.io/signup) page:
195195

196196
```js

0 commit comments

Comments
 (0)