The PrimeVue plugin is replaced with PrimeVueStyled and PrimeVueUnstyled plugins depending on the theming mode.
+
- 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.
-Configures the theme configuration path for the customizations of a theme in styled mode.
+Defines the theming mode, defaults to false.
+
- 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
Styled mode is based on pre-skinned components with opinionated themes, default theme Aura with emerald as the primary color. See 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, the components do not include any CSS so you'd need to style the components on your end. 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.
+If you are using Tailwind CSS, see the Tailwind CSS Presets project to get you started with styling the components with Tailwind utility classes.
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.
+
+ 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. You may also use
+