omi/packages/omio
dntzhang f6ca7a99eb publish(omio): v2.7.0, support compute and computed 2019-10-30 12:37:47 +08:00
..
assets rename omi-old to omio 2018-12-13 13:19:16 +08:00
config chore: change omijs.org to tencent.github.io/omi/ 2019-10-18 11:17:16 +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.7.0, support compute and computed 2019-10-30 12:37:47 +08:00
examples publish(omio): v2.7.0, support compute and computed 2019-10-30 12:37:47 +08:00
src feat(omio): support compute and computed 2019-10-30 11:30:09 +08:00
test publish(omio): v2.6.5, support for custom methods 2019-10-28 14:35:22 +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 feat(omio): support compute and computed 2019-10-30 11:30:09 +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