mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
development section is added
This commit is contained in:
parent
ab4ed9138f
commit
8878ebd0c6
2 changed files with 21 additions and 0 deletions
19
src/DevelopmentSection.vue
Normal file
19
src/DevelopmentSection.vue
Normal 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>
|
|
@ -106,6 +106,7 @@ import AppInputStyleSwitch from './AppInputStyleSwitch';
|
||||||
import AppDemoActions from './AppDemoActions';
|
import AppDemoActions from './AppDemoActions';
|
||||||
import AppDocumentation from './AppDocumentation';
|
import AppDocumentation from './AppDocumentation';
|
||||||
import CodeHighlight from './AppCodeHighlight';
|
import CodeHighlight from './AppCodeHighlight';
|
||||||
|
import DevelopmentSection from './DevelopmentSection';
|
||||||
|
|
||||||
import EventBus from '@/AppEventBus';
|
import EventBus from '@/AppEventBus';
|
||||||
|
|
||||||
|
@ -233,6 +234,7 @@ app.component('VirtualScroller', VirtualScroller);
|
||||||
app.component('AppDemoActions', AppDemoActions);
|
app.component('AppDemoActions', AppDemoActions);
|
||||||
app.component('AppInputStyleSwitch', AppInputStyleSwitch);
|
app.component('AppInputStyleSwitch', AppInputStyleSwitch);
|
||||||
app.component('AppDoc', AppDocumentation);
|
app.component('AppDoc', AppDocumentation);
|
||||||
|
app.component('DevelopmentSection', DevelopmentSection);
|
||||||
app.directive('code', CodeHighlight);
|
app.directive('code', CodeHighlight);
|
||||||
|
|
||||||
app.mount('#app');
|
app.mount('#app');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue