@pikacss/nuxt-pikacss

Nuxt module for PikaCSS. Registers the supported Vite adapter, prepares generated authoring types through Nuxt's type lifecycle, and auto-imports the sole CSS module for single-entry authoring.
8,046 7
Install
npm install @pikacss/nuxt-pikacss
Latest Version:0.0.69
Vue:3
License:MIT
Last Updated:Oct 5, 2026
Links: GitHub  ·  npm
Maintainer: deviltea

@pikacss/nuxt-pikacss

Nuxt module for PikaCSS. Registers the supported Vite adapter, prepares generated authoring types through Nuxt's type lifecycle, and auto-imports the sole CSS module for single-entry authoring.

Installation

pnpm add -D @pikacss/nuxt-pikacss

Usage

// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@pikacss/nuxt-pikacss'],
})

CLI

Installing this package also provides the Nuxt-owned pikacss binary:

pikacss init --cwd .
pikacss prepare --cwd .
pikacss prepare --cwd . --config ./config/pika.config.ts

The package-local pikacss prepare directly prepares PikaCSS generated state with the Nuxt public-entry identity. It does not redirect to nuxt prepare. Normal Nuxt workflows do not need to run it separately: the module invokes the same preparation operation from Nuxt's prepare:types lifecycle, so nuxt prepare, nuxt dev, and nuxt build can materialize and reference the canonical generated declaration automatically.

Documentation

See the full documentation.

License

MIT

Related Packages

nuxt-ununura

Atomic CSS Engine for Nuxt3

1,840 44
unocss-nuxt-ui

Use UnoCSS with Nuxt UI without Tailwind CSS

1,719 27
nuxt-purge-icons-module

Nuxt module for PurgeIcons

921 232
chaincss

The design-system compiler with compile-time accessibility and multi-target emis...

24,699 0

Version History

Version Released Vue License
0.0.69 ^3.0 MIT
0.0.68 ^3.0 MIT
0.0.67 ^3.0 MIT
0.0.66 ^3.0 MIT
0.0.65 ^3.0 MIT