Adrià Vilanova Martínez | f7ee658 | 2021-09-02 21:53:28 +0200 | [diff] [blame] | 1 | // We just import the components needed. |
Adrià Vilanova Martínez | 035b543 | 2021-09-03 14:16:59 +0200 | [diff] [blame] | 2 | import {button, checkbox, dataTable, dialog, drawer, fab, iconButton, list, materialIcon, menu, select, textfield, topAppBar} from 'vue-material-adapter'; |
Adrià Vilanova Martínez | f7ee658 | 2021-09-02 21:53:28 +0200 | [diff] [blame] | 3 | |
4 | export default { | ||||
5 | install(vm) { | ||||
6 | vm.use(button); | ||||
Adrià Vilanova Martínez | 035b543 | 2021-09-03 14:16:59 +0200 | [diff] [blame] | 7 | vm.use(checkbox); |
Adrià Vilanova Martínez | f7ee658 | 2021-09-02 21:53:28 +0200 | [diff] [blame] | 8 | vm.use(dataTable); |
9 | vm.use(dialog); | ||||
10 | vm.use(drawer); | ||||
11 | vm.use(fab); | ||||
12 | vm.use(iconButton); | ||||
13 | vm.use(list); | ||||
14 | vm.use(materialIcon); | ||||
15 | vm.use(menu); | ||||
16 | vm.use(select); | ||||
17 | vm.use(textfield); | ||||
18 | vm.use(topAppBar); | ||||
19 | }, | ||||
20 | }; |