Skip to content

Commit c5f00df

Browse files
committed
test/demo custom component
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent cc649cc commit c5f00df

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

ui/src/components/Test.vue

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<template>
2+
<div>
3+
<h1>Hello CCCNA19!</h1>
4+
</div>
5+
</template>
6+
7+
<script>
8+
9+
export default {
10+
name: 'TestDemo',
11+
components: {
12+
},
13+
data () {
14+
return {
15+
}
16+
},
17+
methods: {
18+
}
19+
}
20+
</script>
21+
22+
<style scoped>
23+
</style>

ui/src/config/section/compute.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ export default {
7575
]
7676
},
7777
{
78-
name: 'kubernetes',
79-
title: 'Kubernetes',
78+
name: 'demo',
79+
title: 'Demo',
8080
icon: 'radar-chart',
8181
permission: [ 'listVirtualMachines' ],
82-
component: () => import('@/components/CloudMonkey/Resource.vue')
82+
component: () => import('@/components/CloudMonkey/Resource.vue'),
8383
},
8484
{
8585
name: 'ssh',

0 commit comments

Comments
 (0)