cja-phoenix
v1.3.2
Published
Phoenix utility
Readme
My Module
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 phoenixThat'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
# 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