File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ yarn add astro-loading-indicator
3030
3131``` diff
3232---
33- import { ViewTransitions } from "astro:transitions";
33+ import { ClientRouter } from "astro:transitions";
3434+ import LoadingIndicator from "astro-loading-indicator/component"
3535
3636---
3737<!doctype html>
3838<html>
3939 <head>
40- <ViewTransitions />
40+ <ClientRouter />
4141+ <LoadingIndicator />
4242 </head>
4343</html>
Original file line number Diff line number Diff line change 11---
2- import { ViewTransitions } from " astro:transitions" ;
2+ import { ClientRouter } from " astro:transitions" ;
33import LoadingIndicator from " astro-loading-indicator/component" ;
44
55interface Props {
@@ -18,7 +18,7 @@ const { title } = Astro.props;
1818 <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
1919 <meta name =" generator" content ={ Astro .generator } />
2020 <title >{ title } </title >
21- <ViewTransitions />
21+ <ClientRouter />
2222 <LoadingIndicator color =" green" height =" 6px" class =" custom-loading-class" />
2323 </head >
2424 <body >
You can’t perform that action at this time.
0 commit comments