xxxxxxxxxx
1
<template>
2
<MDBStepper>
3
<MDBStepperStep active>
4
<MDBStepperHead icon="1">
5
Step 1
6
</MDBStepperHead>
7
<MDBStepperContent>
8
<MDBTabs v-model="activeTabId1">
9
<!-- Tabs navs -->
10
<MDBTabNav tabsClasses="mb-3">
11
<MDBTabItem tabId="ex1-1" href="ex1-1">Tab #1</MDBTabItem>
12
<MDBTabItem tabId="ex1-2" href="ex1-2">Tab #2</MDBTabItem>
13
<MDBTabItem tabId="ex1-3" href="ex1-3">Tab #3</MDBTabItem>
14
</MDBTabNav>
15
<!-- Tabs navs -->
16
<!-- Tabs content -->
17
<MDBTabContent>
18
<MDBTabPane tabId="ex1-1">
19
<MDBInput label="Example label" v-model="input1" /> </MDBTabPane>
20
<MDBTabPane tabId="ex1-2">Content #2</MDBTabPane>
21
<MDBTabPane tabId="ex1-3">Content #3</MDBTabPane>
22
</MDBTabContent>
23
<!-- Tabs content -->
24
</MDBTabs>
25
</MDBStepperContent>
26
</MDBStepperStep>
27
<MDBStepperStep>
28
<MDBStepperHead icon="2">
29
Step 2
30
</MDBStepperHead>
31
<MDBStepperContent>
32
<span>
33
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
34
commodo consequat
35
</span>
36
</MDBStepperContent>
37
</MDBStepperStep>
38
<MDBStepperStep>
39
<MDBStepperHead icon="3">
40
Step 3
41
</MDBStepperHead>
42
<MDBStepperContent>
43
<span>
44
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
45
nulla pariatur
46
</span>
47
</MDBStepperContent>
48
</MDBStepperStep>
49
</MDBStepper>
50
</template>
xxxxxxxxxx
1
<style>
2
#app {
3
font-family: Roboto, Helvetica, Arial, sans-serif;
4
}
5
</style>
xxxxxxxxxx
1
<script>
2
import { MDBStepper, MDBStepperStep, MDBStepperHead, MDBStepperContent, MDBInput, MDBTabs,
3
MDBTabNav,
4
MDBTabContent,
5
MDBTabItem,
6
MDBTabPane, } from "mdb-vue-ui-kit";
7
import { ref } from 'vue';
8
export default {
9
components: {
10
MDBStepper,
11
MDBStepperStep,
12
MDBStepperHead,
13
MDBStepperContent,
14
MDBInput,
15
MDBTabs,
16
MDBTabNav,
17
MDBTabContent,
18
MDBTabItem,
19
MDBTabPane,
20
},
21
setup() {
22
const input1 = ref('');
23
const activeTabId1 = ref('ex1-1');
24
25
return {
26
input1,
27
activeTabId1,
28
};
29
},
30
};
31
</script>
Console errors: 0