An object which is passed into the method a plugin provides for declaring a route via IAssetLinkPluginHandle#defineRoute.
Methods
# component(component)
Specify the component for this plugin-provided route.
Usage
pageRoute.component(SomeVueComponent);
Parameters:
Name | Type | Description |
---|---|---|
component |
VueComponent
|
The component for this plugin-provided route.
this can be anything that is valid as the first argument to Vue's |
# path(path)
Specify the path for this plugin-provided route.
Usage
pageRoute.path("/my-page/:arg");
Parameters:
Name | Type | Description |
---|---|---|
path |
String
|
The path of this plugin-provided route. See https://router.vuejs.org/guide/essentials/dynamic-matching.html for route path format. |