mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
optimization imports from site.js
This commit is contained in:
parent
a106e23ff8
commit
8b5772f996
11 changed files with 223 additions and 246 deletions
|
@ -11,6 +11,7 @@ import '../assets/css/livetv.css';
|
|||
import '../components/listview/listview.css';
|
||||
import '../assets/css/dashboard.css';
|
||||
import '../assets/css/detailtable.css';
|
||||
import { appRouter } from '../components/appRouter';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
@ -20,7 +21,7 @@ import '../assets/css/detailtable.css';
|
|||
const path = newRoute.alias ? newRoute.alias : newRoute.path;
|
||||
console.debug('defining route: ' + path);
|
||||
newRoute.dictionary = 'core';
|
||||
Emby.Page.addRoute(path, newRoute);
|
||||
appRouter.addRoute(path, newRoute);
|
||||
}
|
||||
|
||||
defineRoute({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue