omi/packages/omio
dntzhang 522306f819 omim - sync receiveProps action of omi 2019-06-28 09:04:49 +08:00
..
assets rename omi-old to omio 2018-12-13 13:19:16 +08:00
config add initUse to omi and omio 2019-04-20 17:29:43 +08:00
debug rename omi-old to omio 2018-12-13 13:19:16 +08:00
devtools rename omi-old to omio 2018-12-13 13:19:16 +08:00
dist omim - sync receiveProps action of omi 2019-06-28 09:04:49 +08:00
examples omim - sync receiveProps action of omi 2019-06-28 09:04:49 +08:00
src omim - sync receiveProps action of omi 2019-06-28 09:04:49 +08:00
test omio - update output of renderToString and add merge method 2019-03-28 16:32:39 +08:00
.babelrc rename omi-old to omio 2018-12-13 13:19:16 +08:00
.editorconfig omio - add prettier 2018-12-13 14:39:01 +08:00
.eslintignore omio - add prettier 2018-12-13 14:39:01 +08:00
.eslintrc omio - add prettier 2018-12-13 14:39:01 +08:00
.flowconfig rename omi-old to omio 2018-12-13 13:19:16 +08:00
.gitignore rename omi-old to omio 2018-12-13 13:19:16 +08:00
README.CN.md omio - update readme 2019-05-17 08:58:15 +08:00
README.KR.md omio - remove staticCss, add dynamicCss 2018-12-28 09:00:10 +08:00
README.md omim - sync receiveProps action of omi 2019-06-28 09:04:49 +08:00
package.json omim - sync receiveProps action of omi 2019-06-28 09:04:49 +08:00
typings.json rename omi-old to omio 2018-12-13 13:19:16 +08:00

README.md

English | 简体中文 | 한국어

Omio

Omi for old browsers(IE8+)


Use immediately

$ npm i omi-cli -g             
$ omi init my-app   
$ cd my-app           
$ npm start                     
$ npm run build               

Required omi-cli v3.3.0+.

Differences to omi

Omio has the same grammar as omi, but there are also some differences:

  • Omio does not support slot, please use props.children instead like react
  • Reset.css is valid in omio, but not in omi

Use in omi project

npm i omio

Omiu

Omi ui.

Simple UI framework, compatible with omi and omio.

Webpack Alias

If you want to use omio under existing omi projects, no code changes are required through the following configuration:

module.exports = {
  //...
  resolve: {
    alias: {
      omi: 'omio'
    }
  }
};

License

MIT © dntzhang