File tree Expand file tree Collapse file tree 8 files changed +12
-5
lines changed Expand file tree Collapse file tree 8 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export default {
74
74
</script >
75
75
76
76
<script setup>
77
+ // new script for Composition API
77
78
import { computed , ref } from " vue" ;
78
79
import { useStore } from " vuex" ;
79
80
import VueMultiselect from " vue-multiselect" ;
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Functionality includes: if active component is selected, will switch view to edi
9
9
10
10
11
11
<script setup>
12
+ // new script for Composition API
12
13
import CreateMenu from ' ./CreateMenu.vue' ;
13
14
import UpdateMenu from ' ./UpdateMenu.vue' ;
14
15
import { computed } from " vue" ;
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ Description:
100
100
</script >
101
101
102
102
<script setup>
103
+ // new script for Composition API
103
104
import { useCreateComponent } from " ../../composables/useCreateComponent.js" ;
104
105
import { computed , ref , watch } from " vue" ;
105
106
import { useStore } from " vuex" ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Description:
40
40
</script >
41
41
42
42
<script setup>
43
-
43
+ // new script for Composition API
44
44
import { setSelectedElementList , deleteSelectedElement , deleteFromComponentHtmlList } from ' ../../../store/types'
45
45
import { breadthFirstSearch } from ' ../../../utils/search.util'
46
46
import { computed , ref , watch , defineProps } from " vue" ;
@@ -176,7 +176,7 @@ const renderList = computed({
176
176
</script >
177
177
178
178
<!-- <script>
179
-
179
+ //old Options API script
180
180
import { mapState, mapActions } from 'vuex'
181
181
import { setSelectedElementList, deleteSelectedElement, deleteFromComponentHtmlList } from '../../../store/types'
182
182
import { breadthFirstSearch } from '../../../utils/search.util'
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export default {
37
37
</script >
38
38
39
39
<script setup>
40
-
40
+ // new script for Composition API
41
41
import { computed , ref , defineEmits } from " vue" ;
42
42
import { useStore } from " vuex" ;
43
43
@@ -125,6 +125,7 @@ const changeState = (elementName) => {
125
125
</script >
126
126
127
127
<!-- <script>
128
+ //old Options API script
128
129
import { mapState } from "vuex";
129
130
130
131
export default {
Original file line number Diff line number Diff line change 5
5
</template >
6
6
7
7
<script setup>
8
-
8
+ // new script for Composition API
9
9
import { computed , defineProps } from " vue" ;
10
10
import { useStore } from " vuex" ;
11
11
import { useCreateComponent } from " ../../composables/useCreateComponent.js" ;
@@ -349,6 +349,7 @@ const openVueFile = (data) => {
349
349
</script >
350
350
351
351
<!-- <script>
352
+ // old Options API script
352
353
const { fs, ipcRenderer } = window;
353
354
import { useCreateComponent } from "../../composables/useCreateComponent.js";
354
355
import { mapState, mapActions } from "vuex";
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default {
12
12
</script >
13
13
14
14
<script setup>
15
-
15
+ // new script for Composition API
16
16
import { computed } from " vue" ;
17
17
import { useStore } from " vuex" ;
18
18
Original file line number Diff line number Diff line change 153
153
</template >
154
154
155
155
<script setup>
156
+ // new script for Composition API
156
157
import { computed , ref , watch , onMounted } from " vue" ;
157
158
import { useStore } from " vuex" ;
158
159
@@ -337,6 +338,7 @@ const addBinding = (input, idNum) => {
337
338
</script >
338
339
339
340
<!-- <script>
341
+ //old Options API script
340
342
import { mapState, mapActions } from 'vuex'
341
343
export default {
342
344
data () {
You can’t perform that action at this time.
0 commit comments