mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
Update router.js
This commit is contained in:
@ -4,3 +4,18 @@
|
|||||||
* The goal of this is to help shape the new Angular router, or
|
* The goal of this is to help shape the new Angular router, or
|
||||||
* figure out if we need to do our own implementation.
|
* figure out if we need to do our own implementation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Decorators
|
||||||
|
|
||||||
|
@Route({
|
||||||
|
})
|
||||||
|
class App extends Ionic {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Route({
|
||||||
|
name: 'login'
|
||||||
|
url: '/login' // Optional
|
||||||
|
})
|
||||||
|
class LoginPage extends View {
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user