mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-18 20:39:22 +01:00
Add vue 3 package (#293)
* init vue next package * Refactor naming * adjust readme * add typescript support * Fix es module build * Bump alpha version * Fix size property not working * Fix issue with default attributes in this PR * small fixes * Update README.md * Fix peer dep * Add return * update release workflow Co-authored-by: AdamSGit <adamelio@protonmail.com>
This commit is contained in:
7
packages/lucide-vue-next/scripts/exportTemplate.js
Normal file
7
packages/lucide-vue-next/scripts/exportTemplate.js
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