mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 20:57:43 +01:00
Migrate to PNPM (#777)
* add pnpm * make it work * fix comamnds in package.jsons * move some scripts to modules * workflow fixes * test workflow * test #2 * minor fix * update lockflite * create workflows * update workflow * Add copy license command * Fix build * update workflows * update contributions.md * migrate site directory to pnpm * Fix peer dependencies when install * fix types in lucide-angular * fix testing
This commit is contained in:
7
packages/lucide-vue-next/scripts/exportTemplate.mjs
Normal file
7
packages/lucide-vue-next/scripts/exportTemplate.mjs
Normal file
@@ -0,0 +1,7 @@
|
||||
export default ({ componentName, children }) => `
|
||||
import createVueComponent from '../createVueComponent';
|
||||
|
||||
const ${componentName} = createVueComponent('${componentName}Icon', ${JSON.stringify(children)});
|
||||
|
||||
export default ${componentName};
|
||||
`;
|
||||
Reference in New Issue
Block a user