mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-05-16 20:02:40 +00:00
cd42491cf0
* feat: add support for sub routes under /my-account closes #6217 * feat(plugins/client-routes): page titles Add support for adding custom page titles in client routes. * fix(client/PluginPages): reload component upon URL change * Styling * docs(plugins): update registerClientRoute --------- Co-authored-by: Chocobozzz <me@florianbigard.com>
13 lines
256 B
TypeScript
13 lines
256 B
TypeScript
import { Routes } from '@angular/router'
|
|
import { PluginPagesComponent } from './plugin-pages.component'
|
|
|
|
export default [
|
|
{
|
|
path: '**',
|
|
component: PluginPagesComponent,
|
|
data: {
|
|
reloadOnSameNavigation: true
|
|
}
|
|
}
|
|
] satisfies Routes
|