primevue-mirror/components/layout/DevelopmentSection.vue

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