2019-12-05 11:23:34 +01:00
|
|
|
<template>
|
2020-01-19 18:06:10 +01:00
|
|
|
<div style="width: 90%;">
|
2019-12-05 11:23:34 +01:00
|
|
|
<ProductsList style="margin-bottom: 10px;"/>
|
|
|
|
<AddProductModal/>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import AddProductModal from '../components/Products/AddProductModal';
|
|
|
|
import ProductsList from '../components/Products/ProductsList';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'products',
|
|
|
|
auth: false,
|
|
|
|
components: {
|
|
|
|
ProductsList,
|
|
|
|
AddProductModal
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
productsListData: null
|
|
|
|
};
|
2020-01-19 18:02:45 +01:00
|
|
|
}
|
2019-12-05 11:23:34 +01:00
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
</style>
|