Vanilla Preset is a package designed to enhance the functionality of PrimeVue when using the unstyled mode. It provides additional configurations and options to streamline your development process.
Vanilla Preset is available at npm.
# Using npm
npm install @vanilla-pdmfc/preset
# Using yarn
yarn add @vanilla-pdmfc/preset
# Using pnpm
pnpm add @vanilla-pdmfc/preset
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 Unstyled mode documentation for more information and examples.
import { createApp } from 'vue';
import PrimeVue from 'primevue/config';
import VanillaPreset from "@vanilla-pdmfc/preset";
const app = createApp(App);
app.use(PrimeVue, {
unstyled: true,
pt: VanillaPreset,
});
This package is specifically designed to be used with PrimeVue + Tailwind, especially when using the unstyled mode. It enhances the functionality and provides additional configurations tailored for this mode. Make sure to set unstyled: true
when using this preset.
Copyright (c) 2015-present Razvan Stoenescu