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: 7 months 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 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-08T14:07:13.000Z (about 7 years ago)
- Last Synced: 2025-05-23T22:16:59.949Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- 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