f6ca7a99eb | ||
---|---|---|
.. | ||
assets | ||
config | ||
debug | ||
devtools | ||
dist | ||
examples | ||
src | ||
test | ||
.babelrc | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.flowconfig | ||
.gitignore | ||
README.CN.md | ||
README.KR.md | ||
README.md | ||
package.json | ||
typings.json |
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'
}
}
};