Skip to content

Commit

Permalink
Add Mdcontainer component
Browse files Browse the repository at this point in the history
  • Loading branch information
hsurf22 committed Sep 7, 2019
1 parent 047b42e commit be62ab8
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/components/DecisionTree/DecisionTree.scss
@@ -1 +1,8 @@
@import "~@/scss/GlobalVariables";

.toggle-button {
position: fixed;
left: 200px;
top: 200px;
z-index: 99999;
}
13 changes: 11 additions & 2 deletions src/components/DecisionTree/DecisionTree.vue
@@ -1,5 +1,6 @@
<template>
<div class="">
<button class="toggle-button" @click="toggle">toggle</button>
<b-modal
ref="DecisionTree"
hide-footer
Expand All @@ -9,15 +10,23 @@
lazy
class="bootstrap-modal nopadding decision-tree-modal"
>
<div class="modal-contents">Hi</div>
<div class="modal-contents">
<div>header</div>
<md-container />
<div>footer</div>
</div>
</b-modal>
</div>
</template>

<script>
import MdContainer from './components/MdContainer';
export default {
name: 'DecisionTree',
components: {},
components: {
'md-container': MdContainer
},
props: {},
data() {
return {};
Expand Down
@@ -0,0 +1 @@
@import '~@/scss/GlobalVariables';
22 changes: 22 additions & 0 deletions src/components/DecisionTree/components/MdContainer/MdContainer.vue
@@ -0,0 +1,22 @@
<template>
<div class="">
md
</div>
</template>

<script>
export default {
name: 'MdContainer',
components: {},
props: {},
data() {
return {};
},
mounted() {},
methods: {}
};
</script>

<style lang="scss" scoped>
@import 'MdContainer.scss';
</style>
@@ -0,0 +1 @@
export { default } from './MdContainer';

1 comment on commit be62ab8

@mew-bot
Copy link
Collaborator

@mew-bot mew-bot commented on be62ab8 Sep 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.