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