npm.io
1.3.7 • Published 1 week ago

cja-phoenix

Licence
MIT
Version
1.3.7
Deps
0
Vulns
0
Weekly
0

My Module

npm version npm downloads License Nuxt

My new Nuxt module for doing amazing things.

Features

  •  Foo
  •  Bar
  •  Baz

Quick Setup

Install the module to your Nuxt application with one command:

npx nuxi module add phoenix

That's it! You can now use My Module in your Nuxt app

i18n

Phoenix uses the consuming app's active Nuxt i18n locale to display its built-in component text. Component props such as placeholder still take precedence over translated defaults.

Icons

Phoenix installs @nuxt/icon for consuming apps and exposes a limited Iconify subset through the global <Icon /> component.

<Icon name="search" />

Icon names are exposed by their Phoenix base name without an Iconify collection prefix. Icons outside the Phoenix subset are not fetched at runtime.

Contribution

Local development
# 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