mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-07 06:36:09 +08:00
Making harvester-manager load as an external extension
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { RouteRecordRaw } from 'vue-router';
|
||||
import { PRODUCT_NAME } from '../config/harvester-manager';
|
||||
|
||||
import Root from '../pages/c/_cluster/index.vue';
|
||||
import ListHarvesterMgrResource from '../pages/c/_cluster/_resource/index.vue';
|
||||
import CreateHarvesterMgrResource from '../pages/c/_cluster/_resource/create.vue';
|
||||
import ViewHarvesterMgrResource from '../pages/c/_cluster/_resource/_id.vue';
|
||||
import ClusterListPage from '../list/harvesterhci.io.management.cluster.vue';
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/harvesterManager/clusters',
|
||||
name: `${ PRODUCT_NAME }-c-cluster-list-page`,
|
||||
component: ClusterListPage,
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user