A minimal Nuxt 4 application for starting with PrimeUI Pro TaskBoard for Vue. It contains one standard board, editable PrimeOne UI parts, a PrimeVue task editor, and a lightweight topbar and footer with light and dark modes.
From this directory:
corepack pnpm install
cp .env.example .env
corepack pnpm devSet your PrimeUI Pro license key in .env:
NUXT_PUBLIC_PRIMEUI_LICENSE=your-license-keyOpen http://localhost:3000 after Nuxt starts.
- A controlled TaskBoard with reorderable columns and tasks
- Add, edit, and delete actions through TaskBoard's exposed methods
- An application-owned PrimeVue dialog for task editing
- Editable PrimeOne card and column-header UI parts
- A persistent light and dark mode switch
app/
├── components/primeui/taskboard/ Keep: editable PrimeOne TaskBoard UI parts
├── components/shell/ Optional: quickstart topbar and footer
├── composables/useAppTheme.ts Optional: light and dark mode state
├── demo/taskboard/ Replace: board, task editor, and fixture data
├── layouts/default.vue Optional: lightweight quickstart shell
├── pages/index.vue Replace: thin route for the example
└── plugins/primeui-license.client.ts
Keep: PrimeUI Pro license registration
TaskBoard setup also lives in package.json, nuxt.config.ts, and app/assets/css/main.css. Keep those files when replacing only the example page or data.
The task model, columns, and fixture tasks are in app/demo/taskboard/data.ts. Replace the exported values with data from your store or API. Persistence stays in your application; update your store or backend when accepting board changes.
- Replace the import and template in
app/pages/index.vue. - Delete
app/demo/taskboardwhen your replacement no longer imports it. - Update
primevue.components.includeinnuxt.config.tsif your page uses a different set of PrimeVue controls. - Keep
app/components/primeui/taskboardfor the PrimeOne appearance, or replace those components with your own TaskBoard slot content.
Replace app/layouts/default.vue with your application layout, then delete app/components/shell. You can also remove app/composables/useAppTheme.ts, app/components/AppPageHeader.vue, and the logo files in public/ after removing their remaining imports and uses.
The TaskBoard UI parts in app/components/primeui/taskboard were copied with the PrimeUI CLI and are owned by this application. Regenerate them with:
corepack pnpm dlx @primeui/cli add taskboard --framework vue --ui primeone --output-dir ./app/components/primeuiTaskBoard's structural styles, the PrimeOne theme, and copied component styles are registered in nuxt.config.ts. The same file configures PrimeVue with Aura and registers the PrimeVue component styles used by the example.
corepack pnpm dev
corepack pnpm typecheck
corepack pnpm build
corepack pnpm preview