vue-mvvm / core / AppShell / RouterConfig
RouterConfig
Properties
history?
ts
optional history: "memory" | "web" | "web-hash";The strategy to build a router history. Default is "web"
"memory": Creates an in-memory based history. The main purpose of this history is to handle SSR."web": Creates an HTML5 history. Most common history for single-page applications."web-hash": Creates a hash history. Useful for web applications with no host (e.g.file://) or when configuring a server to handle any URL is not possible.
views
ts
views: (
| RoutableViewModel
| LazyRoutableViewModel<RoutableViewModel>)[];All routable ViewModel's that should be registered to the vue-router