Skip to content

Commit

Permalink
remove srr script
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem committed Dec 15, 2023
1 parent 5c68486 commit 6b91076
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 221 deletions.
3 changes: 1 addition & 2 deletions src/Component/BlazorComponent.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"build:drawflow": "rollup --config rollup.config.drawflow.ts",
"build:swiper": "rollup --config rollup.config.swiper.ts",
"build:intersect": "rollup --config rollup.config.intersect.ts",
"build:resize": "rollup --config rollup.config.resize.ts",
"build:ssr": "rollup --config rollup.config.ssr.ts"
"build:resize": "rollup --config rollup.config.resize.ts"
},
"author": "",
"license": "MIT",
Expand Down
25 changes: 0 additions & 25 deletions src/Component/BlazorComponent.Web/rollup.config.ssr.ts

This file was deleted.

4 changes: 1 addition & 3 deletions src/Component/BlazorComponent.Web/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as slider from "./components/slider";
import * as interop from "./interop";
import * as overlayable from "./mixins/overlayable";
import * as ssr from "./ssr";

declare global {
interface Window {
Expand All @@ -14,8 +13,7 @@ window.BlazorComponent = {
interop: {
...interop,
...overlayable,
...slider,
ssr
...slider
},
};

Expand Down
130 changes: 0 additions & 130 deletions src/Component/BlazorComponent.Web/src/ssr/index.ts

This file was deleted.

39 changes: 0 additions & 39 deletions src/Component/BlazorComponent.Web/src/ssr/page-script.ts

This file was deleted.

20 changes: 0 additions & 20 deletions src/Component/BlazorComponent.Web/src/ssr/ssr-state-restore.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ public static void NavigateWithQueryParameter(this NavigationManager navigationM
{
navigationManager.NavigateTo(navigationManager.GetUriWithQueryParameter(name, value));
}

public static void NavigateWithQueryParameter(this NavigationManager navigationManager, string name, int? value)
{
navigationManager.NavigateTo(navigationManager.GetUriWithQueryParameter(name, value));
}
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 6b91076

Please sign in to comment.