Closed neSpecc closed 1 year ago
I've implemented a module for the Nuxt 3.
This module adds the component /runtime/components/icon.vue under name <codex-icon> to the Nuxt app. This component uses CodeX Icons pack.
/runtime/components/icon.vue
<codex-icon>
yarn add @codexteam/nuxt-icons
nuxt.config.ts
export default defineNuxtConfig({ modules: [ '@codexteam/nuxt-icons' ] })
Use the codex-icon component with the name property with should be one of the list.
codex-icon
name
<codex-icon name="IconHeart" />
I've implemented a module for the Nuxt 3.
This module adds the component
/runtime/components/icon.vue
under name<codex-icon>
to the Nuxt app. This component uses CodeX Icons pack.Features
Installation
nuxt.config.ts
Usage
Use the
codex-icon
component with thename
property with should be one of the list.