/violet-live-view

Build your VUE.js App with Nuxt3 . First Class PrimeVUE 4 support. Formkit Validation included.

Primary LanguageVueMIT LicenseMIT

Nuxt 3 + PrimeVue 4 Starter

Build your VUE.js App with Nuxt3 (Nuxt 4 ready). First Class PrimeVUE support. Validation by Formkit. Module by FormKit-PrimeVue-Nuxt. Based on PrimeVue Styled Theme with Aura Preset.

CI

Netlify Status

THX to antfu / Vitesse Nuxt3 for starter code

Features

Nuxt Modules (included in formkit-prinevue-nuxt)

Nuxt Modules (additional)

  • Pinia - intuitive, type safe, light and flexible Store for Vue.
  • VueUse - collection of useful composition APIs.
  • UnoCSS - the instant on-demand atomic CSS engine.
  • Content - parses .md, .yml, .csv and .json files
  • Images - Optimised images for Nuxt
  • Fonts - Plug-and-play custom web font optimization and configuration for Nuxt apps
  • nuxt-test-utils - Support for e2e and unit testing (Getting started)

Module Configurations

FormKit PrimeVue Nuxt

formkitPrimevue: {
    includePrimeIcons: true,
    includeStyles: true,
    formkitAutoConfig: true,
    formkitLocale: 'en',
    formkitPluginAnimate: true,
    formkitPluginAsterisk: true,
},

Nuxt PrimeVue configuration

  primevue: {
    autoImport: true,
  },
  options: {
    theme: {
      preset: Aura,
        options: {
        darkModeSelector: '.dark',
      },
    },
    ripple: true,
  },
},

PrimeVue 3

Nuxt PrimeVue 3 under the prime3 branch of this project

Starter App on Netlify

Project setup and usage

Install node:

Latest node LTS version required (20) Use node manager like nvm to install.

Install pnpm: https://pnpm.io/installation

Install dependencies:

pnpm install

Run development server:

pnpm dev

Vitest test runner:

pnpm test:unit

Build:

pnpm build

Start Production build:

pnpm start

Tools

I use IntelliJ with VUE.js plugin.

Supporters

JetBrains is supporting this open source project with:

Intellij IDEA