omi/packages/omio
dntzhang ba461f3a61 publish: omio v2.5.2, remove dead code 2019-10-02 09:19:27 +08:00
..
assets rename omi-old to omio 2018-12-13 13:19:16 +08:00
config publish: omio v2.5.0 2019-09-26 15:48:35 +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 publish: omio v2.5.2, remove dead code 2019-10-02 09:19:27 +08:00
examples feat: support useSelf in store system 2019-09-26 15:40:41 +08:00
src publish: omio v2.5.2, remove dead code 2019-10-02 09:19:27 +08:00
test feat: add updateSelf method to omio 2019-09-26 11:51:11 +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 docs: update readme 2019-09-29 09:20:13 +08:00
README.KR.md omio - remove staticCss, add dynamicCss 2018-12-28 09:00:10 +08:00
README.md docs: update readme 2019-09-29 09:18:59 +08:00
package.json publish: omio v2.5.2, remove dead code 2019-10-02 09:19:27 +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

$ npx omi-cli init-o my-app   
$ cd my-app           
$ npm start                     
$ npm run build               

If you want use babel7 + webpack4(not friendly to IE), please use npx omi-cli init my-app

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