1.0.0 ā¢ Published 3 years ago
@svelterialjs/svelte-extend v1.0.0
Generate new Svelte components by extending existing ones.
š Homepage
Install
npm i -D @svelterialjs/svelte-extend
Usage
<script>
import Component from './Component.svelte';
import createComponent from '@svelterialjs/svelte-extend';
const NewComponent = createComponent(Component, {value: 'hello'});
</script>
<!-- Both are the SAME -->
<Component value="hello" />
<NewComponent />
<!-- Even works with SSR! -->
Author
š¤ TheComputerM
- Website: https://thecomputerm.github.io/
- Twitter: @TheComputerM
- Github: @TheComputerM
š¤ Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a āļø if this project helped you!
š License
Copyright Ā© 2021 TheComputerM. This project is MIT licensed.
This README was generated with ā¤ļø by readme-md-generator
1.0.0
3 years ago