- 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.
+