An open API service indexing awesome lists of open source software.

https://github.com/ioing/lath

A pure front-end container. Bring interactive experiences comparable to Native Apps.
https://github.com/ioing/lath

Last synced: about 1 year ago
JSON representation

A pure front-end container. Bring interactive experiences comparable to Native Apps.

Awesome Lists containing this project

README

          

# Introduce

A pure front-end container

Bring interactive experiences comparable to Native Apps.

https://lath.dev

# Install:

```bash
$ npm i lath --save
```

# Example
https://github.com/ioing/lath-vue-example

# Use

```html





I am FrameworksApplets





I am home





I am pageA



```

```ts
import { createApplication } from 'lath'
/**
* "home": moduleName
* "root": target element id
*/
createApplication({
applets: {
frameworks: {...}, // frameworks module config
home: {...} // normal module config
pageA: {...} // normal module config
pageC: {
config: {
source: {
src: '/c.html'
}
},
...
} // normal module config
}
}).then(( application ) => {
console.log(application)
})
```