changes
This commit is contained in:
15
app/components/imports/EditProduct.vue
Normal file
15
app/components/imports/EditProduct.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<script setup>
|
||||
import ProductForm from "@/components/imports/ProductForm.vue";
|
||||
import ProductVariantForm from "@/components/imports/ProductVariantForm.vue";
|
||||
|
||||
const props = defineProps({
|
||||
variant: Object,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<h1 class="subtitle">Sản phẩm</h1>
|
||||
<ProductForm :variantId="variant.id" />
|
||||
<h1 class="subtitle">Phiên bản</h1>
|
||||
<ProductVariantForm :variantId="variant.id" />
|
||||
</template>
|
||||
Reference in New Issue
Block a user