mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
26 lines
436 B
TypeScript
26 lines
436 B
TypeScript
import {App} from 'ionic/ionic';
|
|
|
|
import {FirstPage} from './pages/first-page';
|
|
import {SecondPage} from './pages/second-page';
|
|
import {ThirdPage} from './pages/third-page';
|
|
|
|
|
|
@App({
|
|
routes: [
|
|
{
|
|
path: '/firstpage',
|
|
component: FirstPage,
|
|
root: true
|
|
},
|
|
{
|
|
path: '/secondpage',
|
|
component: SecondPage,
|
|
},
|
|
{
|
|
path: '/thirdpage',
|
|
component: ThirdPage,
|
|
}
|
|
]
|
|
})
|
|
class MyApp {}
|