We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fdb4e4 commit be47469Copy full SHA for be47469
MyApp/_pages/create-your-first-webservice.md
@@ -248,7 +248,6 @@ Compare and contrast with other major SPA JavaScript Frameworks:
248
- [Next.js with swrClient](https://github.com/NetCoreTemplates/nextjs/blob/main/ui/components/intro.tsx)
249
- [React HelloApi.tsx](https://github.com/NetCoreTemplates/react-spa/blob/master/MyApp/src/components/Home/HelloApi.tsx)
250
- [Angular HelloApi.ts](https://github.com/NetCoreTemplates/angular-spa/blob/master/MyApp/src/app/home/HelloApi.ts)
251
- - [Svelte Home.svelte](https://github.com/NetCoreTemplates/svelte-spa/blob/master/MyApp/src/components/Home.svelte)
252
253
### Web, Mobile and Desktop Apps
254
MyApp/_pages/dotnet-new.md
@@ -128,17 +128,6 @@ x new react-spa ProjectName
128
x new react-spa-netfx ProjectName
129
:::
130
131
-### svelte-spa
132
-
133
-Svelte SPA App with Bootstrap
134
135
-[](https://github.com/NetCoreTemplates/svelte-spa)
136
137
-.NET 10+
138
-:::sh
139
-x new svelte-spa ProjectName
140
-:::
141
142
### angular-spa
143
144
Angular 12 CLI Bootstrap App
MyApp/_pages/templates/svelte.md
@@ -3,6 +3,10 @@ slug: templates-svelte
3
title: Svelte Project Templates
4
---
5
6
+::: warning DEPRECATED
7
+The Svelte .NET Core SPA template is no longer being actively maintained
8
+:::
9
+
10
<div class="not-prose my-8 ml-20 flex justify-center"><svg style="max-width:200px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
11
viewBox="0 0 98.1 118" xml:space="preserve">
12
<path fill="#FF3E00" d="M91.8,15.6C80.9-0.1,59.2-4.7,43.6,5.2L16.1,22.8C8.6,27.5,3.4,35.2,1.9,43.9c-1.3,7.3-0.2,14.8,3.3,21.3
@@ -30,16 +34,12 @@ Instead of using techniques like virtual DOM diffing, Svelte writes code that su
30
34
31
35

32
36
33
-> Browse [source code](https://github.com/NetCoreTemplates/svelte-spa) and install with [dotnet-new](/dotnet-new):
37
+> Browse [source code](https://github.com/LegacyTemplates/svelte-spa) and install with [dotnet-new](/dotnet-new):
38
39
```bash
40
$ dotnet tool install -g x
41
```
42
-```bash
-$ x new svelte-spa ProjectName
-```
43
## Development workflow
44
45
[](https://youtu.be/cKlFABFECnQ)
MyApp/wwwroot/pages/auth/authentication-and-authorization.mjs
@@ -2,7 +2,7 @@ import Templates, { Index } from "../templates/Templates.mjs"
2
const ServicestackAuthTemplates = {
components: { Templates },
- template:`<Templates :templates="[Index['vue-mjs'], Index['nextjs'], Index['vue-vite'], Index['vue-ssg'], Index['razor-pages'], Index['mvcauth'], Index['script'], Index['vue-spa'], Index['react-spa'], Index['angular-spa'], Index['svelte-spa']]" hide="demo" />`,
+ template:`<Templates :templates="[Index['vue-mjs'], Index['nextjs'], Index['vue-vite'], Index['vue-ssg'], Index['razor-pages'], Index['mvcauth'], Index['script'], Index['vue-spa'], Index['react-spa'], Index['angular-spa']]" hide="demo" />`,
setup() {
return { Index }
}
MyApp/wwwroot/pages/components/Templates.mjs
@@ -25,7 +25,6 @@ export const Index = [
25
template('react-static', 'React Static', 'React',['tailwind','autoquery']),
26
template('react-spa', 'React SPA', 'React',['tailwind','autoquery']),
27
template('angular-spa', 'Angular SPA', 'Angular',['tailwind']),
28
- template('svelte-spa', 'Svelte SPA', 'Angular',['bootstrap']),
29
template('kmp-desktop', 'Compose Desktop', 'Compose',['kotlin','desktop']),
].reduce((acc, template) => { acc[template.repo] = template; return acc}, {})
MyApp/wwwroot/pages/templates/Templates.mjs
@@ -8,7 +8,6 @@ export function template(repo, name, icon, tags, demo) {
export const Index = [
template('blazor', 'Blazor', 'Blazor', ['tailwind']),
template('blazor-vue', 'Blazor Vue', 'Blazor',['tailwind']),
- template('blazor-wasm', 'Blazor WASM', 'Blazor',['tailwind']),
template('mvc', 'MVC', 'Windows',['tailwind']),
13
template('razor', 'Razor Pages', 'Razor',['tailwind']),
14
template('mvc-bootstrap', 'MVC', 'Windows',['bootstrap']),
@@ -23,7 +22,6 @@ export const Index = [
23
22
template('vue-spa', 'Vue SPA', 'Vue',['bootstrap']),
24
template('react-spa', 'React SPA', 'React',['bootstrap']),
template('angular-spa', 'Angular SPA', 'Angular',['bootstrap']),
0 commit comments