diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-09-15 17:41:06 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-09-15 17:41:06 -0400 |
commit | ec16cc36d593b6b026689004479a6712b63f85ed (patch) | |
tree | 57a1488747ae0586164a5686474f5d6b47688fcc /iridescence/src/components/admin/NewProduct.vue | |
parent | 253dceb5591c5a39122f1439a721ce5b0b3fc97c (diff) | |
download | theglassyladies-ec16cc36d593b6b026689004479a6712b63f85ed.tar.xz theglassyladies-ec16cc36d593b6b026689004479a6712b63f85ed.zip |
started new product modal
Diffstat (limited to 'iridescence/src/components/admin/NewProduct.vue')
-rw-r--r-- | iridescence/src/components/admin/NewProduct.vue | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/iridescence/src/components/admin/NewProduct.vue b/iridescence/src/components/admin/NewProduct.vue index b8d8dd2..5119031 100644 --- a/iridescence/src/components/admin/NewProduct.vue +++ b/iridescence/src/components/admin/NewProduct.vue @@ -3,15 +3,21 @@ <button class="button is-primary"> + Add New </button> + <NewProductModal v-if="modalEnabled"></NewProductModal> </div> </template> <script> +import NewProductModal from "./NewProductModal.vue"; export default { name: "AddNewProduct", - props: {}, - watch: {}, - computed: {}, - methods: {} + components: { + NewProductModal + }, + data: function() { + return { + modalEnabled: true + }; + } }; </script> |