This commit is contained in:
louiscklaw
2025-06-05 11:29:42 +08:00
parent 8c46a93e61
commit d909805283
207 changed files with 10412 additions and 46 deletions

View File

@@ -6,6 +6,8 @@ import { Route, Redirect } from 'react-router';
import Tab1 from './AppPages/Tab1';
import Tab2 from './AppPages/Tab2';
import './style.scss';
function DemoWeatherApp() {
return (
<IonTabs>
@@ -16,10 +18,10 @@ function DemoWeatherApp() {
<Route exact path="/demo-weather-app/tab2">
<Tab2 />
</Route>
<Route exact path="/demo-weather-app">
<Redirect to="/demo-weather-app/tab1" />
</Route>
<Redirect exact path="/demo-weather-app" to="/demo-weather-app/tab1" />
</IonRouterOutlet>
{/* */}
<IonTabBar slot="bottom">
<IonTabButton tab="tab1" href="/demo-weather-app/tab1">