primevue-mirror/layouts/DevelopmentSection.vue

18 lines
462 B
Vue
Raw Normal View History

2022-06-19 13:03:56 +00:00
<template>
2022-07-07 10:32:12 +00:00
<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 />
2022-06-19 13:03:56 +00:00
</template>
<script>
export default {
data() {
return {
isProduction: null
}
},
mounted() {
2022-07-07 10:32:12 +00:00
this.isProduction = process.env.NODE_ENV === 'production';
2022-06-19 13:03:56 +00:00
}
}
2022-07-07 10:32:12 +00:00
</script>