Add vite and nuxt docs to get started

This commit is contained in:
Cagatay Civici 2023-12-26 21:28:43 +03:00
parent eaf337cd56
commit a2ce2d0f72
17 changed files with 522 additions and 90 deletions

View file

@ -0,0 +1,30 @@
<template>
<DocSectionText v-bind="$attrs">
<p>
In <i>nuxt.config</i> file, add the <i>nuxt-primevue</i> to the modules section and define <i>primevue</i> object for the configuration of the module. View the <NuxtLink to="/nuxt/#configuration">module configuration</NuxtLink> section
for the available list of options.
</p>
<DocSectionCode :code="code1" importCode hideToggleCode hideCodeSandbox hideStackBlitz />
</DocSectionText>
</template>
<script>
export default {
data() {
return {
code1: {
basic: `
export default defineNuxtConfig({
modules: [
'nuxt-primevue'
],
primevue: {
/* Options */
}
})
`
}
};
}
};
</script>