1.3.0 • Published 6 years ago

fems v1.3.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

fems

ABANDONED

Front End Micro Services WIP


Installation

npm i fems

Usage

import f from 'fems'

f('/manifest.json')

Or

<script type="module" src="https://unpkg.com/fems"></script>
<script type="javascript">
  window.__fems('/manifest.json')
</script>

The argument passed should be the URL of a piece of JSON with a list of other urls to dynamically import. Your modules should export a run named function, which could attach apps to DOM nodes, or whatever.

export const run = () => {
  ReactDOM.render(
    <App />
    document.getElementById('app-root')
  ) 
}

Important

This module doesn't really work yet. It's based on ES Modules and dynamic import, and uses shimport.

License

MIT

1.3.1

6 years ago

1.3.0

6 years ago

1.2.5

6 years ago

1.2.4

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago