development section is added

This commit is contained in:
Tuğçe Küçükoğlu 2022-06-19 16:03:56 +03:00
parent ab4ed9138f
commit 8878ebd0c6
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<template>
<div>
<slot v-if="isProduction" />
<p v-else>This section is under development. After the necessary tests and improvements are made, it will be shared with the users as soon as possible.</p>
</div>
</template>
<script>
export default {
data() {
return {
isProduction: null
}
},
mounted() {
this.isProduction = process.env.NODE_ENV === 'development';
}
}
</script>