fix: unable to opt out of nested client nav (#1940)

This commit is contained in:
Marvin Hagemeister
2023-10-15 08:41:13 +02:00
committed by GitHub
parent fe1e622cf1
commit 0192316785
9 changed files with 347 additions and 151 deletions
@@ -0,0 +1,21 @@
import { Partial } from "$fresh/runtime.ts";
import { RouteConfig } from "$fresh/server.ts";
import CounterA from "../../islands/CounterA.tsx";
import { Fader } from "../../islands/Fader.tsx";
export const config: RouteConfig = {
skipAppWrapper: true,
};
export default function ModeDemo() {
return (
<div>
<Partial name="slot-1">
<Fader>
<p class="status-initial">Initial content</p>
<CounterA />
</Fader>
</Partial>
</div>
);
}