mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +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
|
||||
* 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