Update DevelopmentSection.vue
parent
b18b6f0858
commit
638d132c21
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<slot v-if="isProduction" />
|
<p v-if="isProduction">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>
|
||||||
<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>
|
<slot v-else />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.isProduction = process.env.NODE_ENV === 'development';
|
this.isProduction = process.env.NODE_ENV === 'production';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue