PrimeVue is available for download at npm.
+PrimeVue is available for download on npm Registry.
+ The nuxt-prime package is the official module by PrimeTek. +
++ A sample starter example is available at PrimeVue examples repository. +
++ 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. +
++ Module is used to configure the PrimeVue options, register components, directives and composables. CSS configuration of the styled mode is not included at the moment due to the upcoming enhancements like moving theming to core with CSS variables. + In styled mode, the theme can be defined at Nuxt configuration with the css property. Note that this only applies to styled mode, in unstyled mode a theme file is not required as styling is done externally. +
+
+ Until the new styled mode implementation is ready, dynamic theming at runtime is currently done by switching theme css files. Visit the
A video tutorial that goes through steps of setting up PrimeVue with the nuxt-primevue module.
++ The components to import and register are defined with the include option using a string array. When the value is ignored + or set using the * alias, all of the components are registered. +
++ In case all components are imported, particular components can still be excluded with the exclude option. +
++ Use the prefix option to give a prefix to the registered component names. +
++ Component registration can be customized further by implementing the name function that + gets an object representing the import metadata. name is the label of the component, as is the default export name and from is the import path. +
++ Determines the composables to use, when default value is ignored or set as * all composables are imported. +
++ The names of the directives to import and register are provided using the include property. When the value is ignored or set using the * alias, all of the directives are registered. +
++ Similar to components, certain directives can be excluded and name registration can be customized. +
+
+ Main configuration settings of PrimeVue, refer to the
+ Whether to install the PrimeVue plugin, defaults to true. Disable this option if you prefer to configure PrimeVue manually e.g. with a Nuxt plugin. +
+