1.0.0 ā€¢ Published 3 years ago

@svelterialjs/svelte-extend v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

šŸ¤ 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