import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { Tab3Page } from './tab3.page';
import { NewsComponent } from './news/news.component'; // 更新路径

const routes: Routes = [
  {
    path: '',
    component: Tab3Page,
  },
  {
        path: 'news',
        component: NewsComponent
  }
  ];
  
  

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class Tab3PageRoutingModule {}