nuxt / nuxt/icon

Using nuxt-icon in a custom module

Open
#146 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
96
Avg merge
8h 12m
Merged PRs (30d)
2

Description

module.ts

installModule('nuxt-icon', {
  size: '24px',
})

But inlineOptions doesn't work, when i'm enabling this module inside a custom module.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with module.ts and trace installModule('nuxt-icon', { size: '24px' }) when nuxt-icon is enabled from a custom module. Reproduce the case and inspect how inlineOptions are passed or applied. Done means the configured inlineOptions work when the module is installed this way, with a regression check for the shown setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxtjs, typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.