primevue-mirror/doc/configuration/locale/ImportDoc.vue

23 lines
517 B
Vue

<template>
<DocSectionText v-bind="$attrs">
<p>Locale values are stored in the global configuration that becomes accessible after installing the PrimeVue.</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
import PrimeVue from 'primevue/config';
const app = createApp(App);
app.use(PrimeVue);`
}
};
}
};
</script>