-
Notifications
You must be signed in to change notification settings - Fork 6
Terms
It is our software's name. "어디로" in Korean.
Apps indicate top level functionalities listed in the eodiro's home page, including home itself. Each App has its own icon and the Banner is large on these Apps' starting page. Banner becomes a mini mode at further children routes.
They consist of lowercase and concatenated with a dash(-) because they are also frequently used in the html document as a class name.
- home
- vacant
- search-class
- clubs
- meal
- inquiry
- donation
- preferences
It is needed to know the previous page using current app name and current route name.
const routeMap = {
appName1: ['app1-route1', 'app1-route2', ...],
appName2: ['app2-route1', 'app2-route2', ...],
...
}
All the Vue components under pages
directory should have their own unique name to be properly cached.
export default {
name: 'home'
}
route-change
middleware uses it to determine the route direction.
Direction | Condition |
---|---|
forward | from depth < to depth |
backward | from depth > to depth |
Page depths are declared in the page component's meta. Here is an example.
export default {
meta: {
depth: 3 // home(index) is 0
}
}
Copyright ©️ 2019 PAYW.org | Contact
Documentation
Components