Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shershen08/single-spa-hyperapp
Plugin to include your Hyperapp into single-spa based webpage
https://github.com/shershen08/single-spa-hyperapp
Last synced: about 1 month ago
JSON representation
Plugin to include your Hyperapp into single-spa based webpage
- Host: GitHub
- URL: https://github.com/shershen08/single-spa-hyperapp
- Owner: shershen08
- License: mit
- Created: 2018-12-08T13:13:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-08T14:07:13.000Z (about 6 years ago)
- Last Synced: 2024-11-03T03:21:18.545Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- hyperawesome - shershen08/single-spa-hyperapp - wrapper for using Hyperapp within single-spa apps (Utilities V1)
README
## single-spa-hyperapp
Generic lifecycle hooks for [Hyperapp](https://github.com/jorgebucaran/hyperapp) applications that are registered as single-spa applications.
## Example
See in [sample-app floder](https://github.com/shershen08/single-spa-hyperapp/tree/master/sample-app)
## Quickstart
Instal:
```
npm i single-spa-hyperapp
```Add connector file
```
import singleSpaHyperApp from 'single-spa-hyperapp';// following props must be exported from your Hyperapp root file
import {hyperApp, appActions, appState, appView, mountEl} from './app'```
### TODO
Add single-spa parcels support