Skip to content
项目

sfxcode/nuxt-primevue-starter

在 GitHub 查看

关于

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

网站与应用开发

这些数字如何统计

可以做什么

  • Nuxt 3 - SSR, ESR, File-based routing, components auto importing, modules, etc.
  • PrimeVue 4.4.x with Aura Theme
  • Formkit-PrimeVue PrimeVue Formkit Integration
  • Vite - Instant HMR

实测星标增长

24小时
-1
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Nuxt 4 + PrimeVue 4 Starter

Build your VUE.js App with Nuxt 4. 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-primevue-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

Module options for FormKit PrimeVue Nuxt. Below are the default values, if they fit your needs, you don't need to add them to your nuxt.config.ts.

  formkitPrimevue: {
  includePrimeIcons: true,
    includeStyles: true,
    installFormKit: true,
    installI18N: 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

探索相关项目

加载中…