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

23 lines
517 B
Vue
Raw Permalink Normal View History

2023-02-28 08:29:30 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>Locale values are stored in the global configuration that becomes accessible after installing the PrimeVue.</p>
</DocSectionText>
2024-01-30 08:16:35 +00:00
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
2023-02-28 08:29:30 +00:00
</template>
<script>
export default {
data() {
return {
code: {
2023-09-22 12:54:14 +00:00
basic: `
import PrimeVue from 'primevue/config';
2023-02-28 08:29:30 +00:00
const app = createApp(App);
app.use(PrimeVue);`
}
};
}
};
</script>