fix: broken component import in prod

This commit is contained in:
liyasthomas
2021-08-24 09:14:46 +05:30
parent f20fed444a
commit 12c28f4efc
75 changed files with 254 additions and 153 deletions

View File

@@ -178,9 +178,10 @@
</template>
<script>
import { defineComponent } from "@nuxtjs/composition-api"
import { moveRESTRequest } from "~/newstore/collections"
export default {
export default defineComponent({
props: {
collectionIndex: { type: Number, default: null },
collection: { type: Object, default: () => {} },
@@ -247,5 +248,5 @@ export default {
moveRESTRequest(folderPath, requestIndex, this.collectionIndex.toString())
},
},
}
})
</script>

View File

@@ -161,13 +161,14 @@
</template>
<script>
import { defineComponent } from "@nuxtjs/composition-api"
import {
removeRESTFolder,
removeRESTRequest,
moveRESTRequest,
} from "~/newstore/collections"
export default {
export default defineComponent({
name: "Folder",
props: {
folder: { type: Object, default: () => {} },
@@ -252,5 +253,5 @@ export default {
removeRESTRequest(this.folderPath, requestIndex)
},
},
}
})
</script>