Package Exports
- omio
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (omio) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.childreninstead like react - Reset.css is valid in omio, but not in omi
Use in omi project
npm i omioOmiu
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'
}
}
};