The nuxt-primevue package is the official module by PrimeTek.
++ PrimeVue is available for download on npm Registry along with the official + nuxt-primevue module. +
+ In nuxt.config file, add the nuxt-primevue to the modules section and define primevue object for the configuration of the module. View the
The module is enabled by adding nuxt-primevue to the modules option. Configuration values are defined with the primevue property.
-The complete API with the all available configuration options along with the default values.
-
+ Styled mode is based on pre-skinned components with opinionated themes like Material, Bootstrap or PrimeOne themes. Theme is the required css file to be imported, visit the
+
You may use the app.vue file to import a theme using a script.
+The style section may also be used with @import.
+Another alternative would be the css option in nuxt.config.
+
+ The style classes of PrimeVue are defined under the primevue CSS layer to be easier to customize by having low specificity. If you are using a CSS library that styles default HTML elements such as Tailwind Preflight, Bootstrap,
+ Normalize, or similar, a custom CSS layer configuration might be necessary with the cssLayerOrder option to make sure primevue layer is defined afterward. This only applies to Styled Mode as Unstyled Mode does not use any default
+ styles or layers. View the
+ Unstyled mode is disabled by default for all components. Set unstyled as true to enable it globally using a module configuration. Visit the
In unstyled mode, you'd need to style the components on your end. If you are using Tailwind CSS, see the Tailwind CSS Presets project to get you started.
+The nuxt-primevue module registers the components automatically so you may start using them instantly. See the
PrimeVue is available for download on npm Registry.
++ We've created various samples for the popular options in the Vue ecosystem. Visit the primevue-examples repository for more samples including + vite-quickstart and + vite-ts-quickstart. +
+
+ PrimeVue plugin is required to be installed as an application plugin to set up the default
+ Styled mode is based on pre-skinned components with opinionated themes like Material, Bootstrap or PrimeOne themes. Theme is the required css file to be imported, visit the
+
+ The style classes of PrimeVue are defined under the primevue CSS layer to be easier to customize by having low specificity. If you are using a CSS library that styles default HTML elements such as Tailwind Preflight, Bootstrap,
+ Normalize, or similar, a custom CSS layer configuration might be necessary. This only applies to Styled Mode as Unstyled Mode does not use any default styles or layers. View the
+ Unstyled mode is disabled by default for all components. Using the PrimeVue plugin during installation, set unstyled as true to enable it globally. Visit the
In unstyled mode, you'd need to style the components on your end. If you are using Tailwind CSS, see the Tailwind CSS Presets project to get you started.
+Each component can be imported and registered individually so that you only bundle what you use. Import path is available in the documentation of the corresponding component.
++ Create-Vue + is the recommended way to start a Vite-powered Vue project. +
+PrimeVue has seamless integration with Nuxt using the official module.
+Setting up PrimeVue in a Nuxt project.