MCPcopy Create free account

hub / github.com/nuxt/icon / functions

Functions74 in github.com/nuxt/icon

↓ 11 callersFunctionresolveBundleIcons
(options: ResolveBundleIconsOptions)
src/core/bundle.ts:63
↓ 9 callersFunctionappDir
()
test/client-bundle.test.ts:48
↓ 6 callersFunctionNuxtIconBundle
(options: NuxtIconVitePluginOptions = {})
src/vite.ts:95
↓ 6 callersMethodloadClientBundleCollections
()
src/context.ts:148
↓ 5 callersFunctioncreateContext
(rootDir: string, workspaceDir: string, icons: string[], hookIcons: string[] = [])
test/client-bundle.test.ts:30
↓ 5 callersFunctiongenerateClientBundleCode
( collections: IconifyJSON[], options: GenerateClientBundleOptions = {}, )
src/core/bundle.ts:213
↓ 4 callersFunctionaddIcon
(prefix: string, name: string, data: IconifyIcon)
src/core/bundle.ts:115
↓ 4 callersFunctionbuildFixture
(plugin: ReturnType<typeof NuxtIconBundle>)
test/vite-plugin.test.ts:56
↓ 4 callersMethodextractFromCode
( code: string, set: Set<string>, )
src/core/scan.ts:33
↓ 4 callersFunctiongetResolvePaths
(nuxt: Nuxt)
src/collections.ts:3
↓ 3 callersFunctionloadCustomCollection
( collection: IconifyJSON | CustomCollection, rootDir: string, )
src/core/collections.ts:39
↓ 3 callersMethodloadCustomCollection
(force = false)
src/context.ts:125
↓ 3 callersFunctionloadIcon
(name: string, timeout: number)
src/runtime/components/shared.ts:17
↓ 2 callersFunctionemptyDir
()
test/client-bundle.test.ts:50
↓ 2 callersFunctiongetCSS
(icon: IconifyIcon, withLayer = true)
src/runtime/components/css.ts:111
↓ 2 callersFunctiongetCollectionPath
(collection: string, resolvePaths: string[])
src/core/collections.ts:30
↓ 2 callersFunctiongetKnownIconClasses
()
src/integrations/unocss.ts:13
↓ 2 callersFunctionhasFullCollection
(resolvePaths: string[])
src/core/collections.ts:13
↓ 2 callersFunctioninstallCollection
(dir: string, prefix: string, icon: string)
test/vite-plugin.test.ts:9
↓ 2 callersFunctioninstallCollection
(dir: string, prefix: string, icon: string)
test/client-bundle.test.ts:8
↓ 2 callersFunctioninstallCollection
(dir: string, prefix: string, icon: string)
test/bundle.test.ts:9
↓ 2 callersFunctionmarkUnresolved
(icon: string)
src/core/bundle.ts:130
↓ 2 callersFunctionmountCSS
(icon: IconifyIcon)
src/runtime/components/css.ts:131
↓ 2 callersFunctionresolveCustomizeFn
( customize: IconifyIconCustomizeCallback | boolean | null | undefined, globalCustomize: IconifyIconCustom
src/runtime/components/shared.ts:71
↓ 2 callersMethodresolveServerBundle
()
src/context.ts:55
↓ 2 callersMethodscanFiles
( cwd: string | string[], set: Set<string> = new Set(), )
src/core/scan.ts:48
↓ 2 callersFunctionuseResolvedName
(getName: () => string)
src/runtime/components/shared.ts:48
↓ 2 callersFunctionwsDir
()
test/client-bundle.test.ts:49
↓ 1 callersMethod_loadCustomCollection
()
src/context.ts:141
↓ 1 callersMethod_resolveServerBundle
()
src/context.ts:67
↓ 1 callersFunctioncreateMatchRegex
( collections: string[] | Set<string>, )
src/core/scan.ts:78
↓ 1 callersFunctiondiscoverInstalledCollections
(resolvePaths: string[])
src/core/collections.ts:123
↓ 1 callersFunctionescapeCssSelector
(selector: string)
src/runtime/components/css.ts:16
↓ 1 callersFunctionfilter
(selector: string)
src/runtime/components/css.ts:26
↓ 1 callersFunctiongetAllSelectors
()
src/runtime/components/css.ts:20
↓ 1 callersFunctiongetIcon
(name: string)
src/runtime/components/css.ts:96
↓ 1 callersFunctiongetInstallCommand
(pkg: string)
src/runtime/server/api.ts:15
↓ 1 callersFunctiongetRemoteEndpoint
(name: string)
src/bundle-server.ts:30
↓ 1 callersMethodgetRuntimeCollections
(runtimeOptions: NuxtIconRuntimeOptions)
src/context.ts:28
↓ 1 callersFunctioniconifyScopeDirs
* Returns the `@iconify-json` scope directory inside every `node_modules`, * deduped, walking up the tree like the Node resolver.
src/core/collections.ts:164
↓ 1 callersMethodisFileMatch
(path: string)
src/core/scan.ts:44
↓ 1 callersFunctionload
(id)
src/vite.ts:138
↓ 1 callersFunctionloadCollection
(prefix: string)
src/core/bundle.ts:98
↓ 1 callersFunctionloadCustomCollections
()
src/vite.ts:111
↓ 1 callersFunctionparseCustomCollection
( collection: CustomCollection, rootDir: string, )
src/core/collections.ts:53
↓ 1 callersFunctionregisterClientBundle
( ctx: NuxtIconModuleContext, )
src/bundle-client.ts:5
↓ 1 callersFunctionregisterServerBundle
( ctx: NuxtIconModuleContext, )
src/bundle-server.ts:7
↓ 1 callersFunctionresolveCollection
( collection: string | IconifyJSON | CustomCollection | RemoteCollection, rootDir: string, )
src/core/collections.ts:17
↓ 1 callersFunctionresolveId
(id)
src/vite.ts:131
↓ 1 callersFunctionscanCssRules
(rules: CSSRuleList)
src/runtime/components/css.ts:35
↓ 1 callersMethodsetNitroPreset
(preset: string | undefined)
src/context.ts:51
↓ 1 callersFunctionsetupCustomCollectionsWatcher
(options: ModuleOptions, nuxt: Nuxt, ctx: NuxtIconModuleContext)
src/module.ts:182
↓ 1 callersFunctionunocssIntegration
(nuxt: Nuxt, options: ModuleOptions)
src/integrations/unocss.ts:10
Method'icon:clientBundleIcons'
(icons: Set<string>)
src/types.ts:62
Method'icon:serverKnownCssClasses'
(selectors: string[])
src/types.ts:61
FunctionconfigResolved
(config)
src/vite.ts:122
FunctionconfigureServer
(server)
src/module.ts:193
FunctionconfigureServer
(_server)
src/vite.ts:127
Methodconstructor
( public readonly nuxt: Nuxt, public readonly options: ModuleOptions, )
src/context.ts:19
Methodconstructor
(scanOptions: ClientBundleScanOptions | true)
src/core/scan.ts:12
FunctioncustomIconLoader
(icons: string[], prefix: string)
src/runtime/plugin.ts:33
FunctiongenerateBundle
()
src/integrations/unocss.ts:35
Functionget
()
src/integrations/unocss.ts:51
FunctiongetContents
()
src/bundle-server.ts:16
FunctiongetContents
()
src/bundle-client.ts:16
FunctiongetKey
(event: H3Event)
src/runtime/server/api.ts:75
FunctionhandleHotUpdate
({ file, read })
src/vite.ts:196
FunctionnormalizeIconName
(icon: string)
src/core/bundle.ts:54
FunctionresolveId
(id: string)
src/module.ts:141
Functionsetup
(options, nuxt)
src/module.ts:51
Functionsetup
()
src/runtime/plugin.ts:8
Functionsetup
(props, { slots })
src/runtime/components/svg.ts:22
Functionsetup
(props, { slots })
src/runtime/components/index.ts:34
Functionsetup
(props)
src/runtime/components/css.ts:82