@sfxcode/formkit-primevue-nuxt
| Install | |
|---|---|
npm install @sfxcode/formkit-primevue-nuxt |
|
| Latest Version: | 1.8.5 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 5, 2026 |
| Links: | GitHub · npm |
FormKit PrimeVue Nuxt
Nuxt Module for PrimeVue based FormKit Inputs for using FormKit with the PrimeVue UI Framework.
Based on sfxcode/formkit-primevue.
⚠️ PrimeVue version support: only PrimeVue
4.5.5and earlier are supported. Newer versions are not open source anymore, see PrimeUI Next Chapter.
Features
- ⛰ Validation by FormKit
- 🚠 UI by PrimeVue
- 🏎 Auto import for formkit-primevue components and composables
Nuxt Module Dependencies
- primevue-nuxt Module
- formkit-nuxt Module
Both are auto installed by default, this can be disabled in the module options.
Quick Setup
Install the module to your Nuxt application with one command:
npx nuxi module add @sfxcode/formkit-primevue-nuxt
That's it! You can now use FormKit PrimeVue Nuxt Module in your Nuxt app ✨
Module Options
- includePrimeIcons (default:
true): Add PrimeIcons CSS to the project. - includeStyles (default:
true): Add custom FormKit CSS to the project. - installI18N (default:
true): Install nuxt i18n module automatically. - installFormKit (default:
true): Install nuxt formkit module automatically.
Removed options since 1.2.0
- formkitAutoConfig : Automatically configure FormKit. => Removed in favor of installFormKit
- formkitLocale ,formkitPluginAnimate, formkitPluginAsterisk : use formkit.config.ts for custom configuration
FormKit Configuration
Use a formkit.config.ts file to configure FormKit.
// formkit.config.ts
import type { DefaultConfigOptions } from '@formkit/vue'
import { primeInputs, primeOutputs } from '@sfxcode/formkit-primevue'
const config: DefaultConfigOptions = {
// Define the active locale
inputs: { ...primeInputs, ...primeOutputs },
}
export default config
Additional Configuration
For i18n support, you can add the following configuration to your nuxt.config.ts:
i18n: {
locales: [
{
code: 'en',
file: 'en.json',
},
{
code: 'de',
file: 'de.json',
},
],
defaultLocale: 'en',
vueI18n: {
fallbackLocale: 'en',
},
},
Also define some locales and a sufficient configuration for Vue I18n. Example is provided in the playground
Contribution
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release
Related Packages
FormKit integration for Nuxt UI - Seamlessly connect FormKit form handling with...
Nuxt module wrapping a generated OpenAPI client for MongoCamp, with composables...
* Load PrimeVue Components * Add PrimeVue Services (usePrimeDataTable) * Formkit...
A Nuxt module that wraps @sfxcode/nuxt-mongocamp-server with ready-made UI compo...
Version History
| Version | Released | License |
|---|---|---|
| 1.8.5 | MIT | |
| 1.8.4 | MIT | |
| 1.8.3 | MIT | |
| 1.8.2 | MIT | |
| 1.8.1 | MIT | |
| 1.8.0 | MIT | |
| 1.7.0 | MIT | |
| 1.6.2 | MIT | |
| 1.6.1 | MIT | |
| 1.6.0 | MIT | |
| 1.5.8 | MIT | |
| 1.5.7 | MIT | |
| 1.5.6 | MIT | |
| 1.5.5 | MIT | |
| 1.5.4 | MIT | |
| 1.5.3 | MIT | |
| 1.5.2 | MIT | |
| 1.5.1 | MIT | |
| 1.5.0 | MIT | |
| 1.4.1 | MIT | |
| 1.4.0 | MIT | |
| 1.3.11 | MIT | |
| 1.3.10 | MIT | |
| 1.3.9 | MIT | |
| 1.3.8 | MIT | |
| 1.3.7 | MIT | |
| 1.3.6 | MIT | |
| 1.3.5 | MIT | |
| 1.3.4 | MIT | |
| 1.3.3 | MIT |
Showing the latest 30 of 55. See every release on npm