mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 21:37:43 +01:00
* eslint rules for SVGS * apply options * Add typescript eslinter * Make eslint work with the codebase * Format icons * Test svg * Add workflow * Fix lint command * Revert duplicated aliases * Update .eslintrc.js Co-authored-by: Jakob Guddas <github@jguddas.de> * Update .eslintrc.js Co-authored-by: Jakob Guddas <github@jguddas.de> * Move linter to separate workflow * Add pnpm install * Revert icon changes * Test eslint workflow * turn of fail lint-contributors * Revert theater * process feedback --------- Co-authored-by: Jakob Guddas <github@jguddas.de>
12 lines
261 B
JavaScript
12 lines
261 B
JavaScript
import { join } from 'path';
|
|
|
|
export default function LucideNuxtPlugin() {
|
|
this.nuxt.hook('components:dirs', (dirs) => {
|
|
dirs.push({
|
|
path: join(__dirname, 'dist', 'esm', 'icons'),
|
|
prefix: 'Icon',
|
|
ignore: ['**/index.js'],
|
|
});
|
|
});
|
|
}
|