Go to file
当耐特 da0aab512f Merge pull request #46 from OuYancey/master
split Chinese and English REAMDE
2017-08-02 11:37:35 +08:00
asset update md2site 2017-03-04 20:03:38 +08:00
dist omi 1.7.5 - fix select selected problem 2017-07-21 16:34:51 +08:00
docs clean up 2017-06-16 10:50:59 +08:00
example omi 1.7.5 - fix select selected problem 2017-07-21 16:34:51 +08:00
md2site update md2site 2017-05-03 09:07:43 +08:00
plugins omi-router v0.2.3 support beforeRoute 2017-07-19 16:33:56 +08:00
src omi 1.7.5 - fix select selected problem 2017-07-21 16:34:51 +08:00
test slot test 2017-04-06 21:12:44 +08:00
todomvc omi v1.1.6 - spelling mistakes 2017-03-28 09:57:06 +08:00
ts update ts test 2017-04-02 11:13:44 +08:00
tutorial update doc 2017-07-31 17:07:55 +08:00
website update readme 2017-05-18 18:04:16 +08:00
.eslintignore add eslint, based on eslint-config-standard 2017-08-01 16:51:49 +08:00
.eslintrc add eslint, based on eslint-config-standard 2017-08-01 16:51:49 +08:00
.gitignore remove old ssr example 2017-04-03 16:00:40 +08:00
.travis.yml add travis.yml 2017-01-23 16:02:59 +08:00
README.md fix code type in README 2017-08-02 11:21:13 +08:00
README.zh-CN.md fix code type in README 2017-08-02 11:21:13 +08:00
change-log.md omi 1.7.5 - fix select selected problem 2017-07-21 16:34:51 +08:00
index.d.ts update ts test 2017-04-02 11:13:44 +08:00
index.html update readme 2017-06-24 17:17:28 +08:00
package.json add eslint, based on eslint-config-standard 2017-08-01 16:51:49 +08:00
webpack.config.js omi v1.7.0 - add omi.art.js and omi.art.min.js 2017-05-26 11:28:14 +08:00

README.md

Omi

Open and modern framework for building user interfaces.

Version Download PRs

中文README

Omi

  • Omi Cli and Cli Usage
  • If you want to experience the Omi framework, you can visit Omi Playground or read the code of TodoMVC by Omi
  • If you want to use the Omi framework or develop and improve omi framework, please read the Omi documentation
  • If you want to get a better reading experience of the documents, you can visit Docs Website
  • Tutorial or blogs about omi framework, you can visit Omi Tutorial
  • If you have Any problems, please New issue
  • If you want to be more convenient on the exchange of all Omi can join the QQ Omi exchange group (256426170)

omi-cli

$ npm install omi-cli -g       # install cli
$ omi init your_project_name   # init project, you can also exec 'omi init' in an empty folder
$ cd your_project_name         # please ignore this command if you executed 'omi init' in an empty folder
$ npm start                    # develop
$ npm run dist                 # release

other cmd:

$ npm run ie    # debugging in ie8

Features

  • Super tiny size, 7 KB (gzip)
  • Good compatibility, support IE8 (please import es5-shim or es5-sham by yourself)
  • Fully object-oriented component system
  • Support Scoped CSS, reusable components are composed of HTML, Scoped CSS and JS
  • More free updates, each component has a update method, free to choose the right time to update
  • Template engines can be replaced, developers can override the Omi.template method to use any template engine
  • Provides two development way ( ES6+ and ES5) for developers to choose freely

Plugins

Install

$ npm install omi

Hello World

You can use webpack + babel, configure the babel-loader in the module settings of webpack, then you can use ES6+ to write your web program.

if using 'omi.lite.js' (without mustache.js), you can use the ${this.data.name} way

CDN

Thanks

  • morphdom - Fast and lightweight DOM diffing/patching (no virtual DOM needed)
  • art-template - JS template engine with excellent performance
  • sodajs - Light weight but powerful template engine for JavaScript
  • mustache.js - Minimal templating with {{mustaches}} in JavaScript

Contributors

name avatars company
CodeFalling alibaba
abell123456 alibaba
Aresn TalkingCoder
pasturn Mars Holding
vorshen Tencent
xcatliu Microsoft
dorsywang Tencent
dntzhang Tencent

License

This content is released under the MIT License.