https://github.com/beyondjs/svelte-widgets
https://github.com/beyondjs/svelte-widgets
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/beyondjs/svelte-widgets
- Owner: beyondjs
- Created: 2022-09-19T16:06:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-22T23:46:55.000Z (about 2 years ago)
- Last Synced: 2025-02-14T03:34:41.287Z (over 1 year ago)
- Language: TypeScript
- Size: 14.6 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to `@beyond-js/svelte-widgets`
`@beyond-js/svelte-widgets` is a package for [BeyondJS](https://beyondjs.com), a platform for creating web projects as independent microfrontends. This package, built on `@beyond-js/widgets`, allows developers to use the Svelte framework in BeyondJS projects with ease.
## Features
- Simple integration of Svelte in BeyondJS projects
- Built on the flexible `@beyond-js/widgets` package
## Getting Started
1. Install the `@beyond-js/svelte-widgets` package in your BeyondJS project:
```
npm install @beyond-js/svelte-widgets
```
2. Add the `svelte` processor to the `bundle` configuration in the `module.json` file:
```json
{
"bundleName": {
"svelte": {
"ts": {
"path": "vue", // Folder where you can store your React components as single-file components.
"files": "*"
}
}
}
}
```
> Note: In this configuration, "bundleName" should be replaced with the actual name of your bundle.
## Contributing
We welcome contributions to `@beyond-js/svelte-widgets`. If you'd like to contribute, please read the [Contribution Guidelines](https://beyondjs.com/docs/contributing).
## License
`@beyond-js/svelte-widgets` is [MIT licensed](LICENSE).