miox-core

1.2.6 • Public • Published

Miox

A new app building framework which using HTML5+Javascript

Usage

npm install --save miox-core

On Browser

<script src="${host}/miox.umd.js"></script>

Library: Miox

Miox.Bootstrap(function(app){
    // ...
});

On CLI-TOOLKIT

npm install -g miox-cli
miox create

Code:

import { Bootstrap } from 'miox-core';
 
Bootstrap(async app => {
    // ...
})

Example

import { Bootstrap } from 'miox-core';
 
Bootstrap(async app => {
    app.use(async (ctx, next) => {
        console.log(11)
        await next();
    });
})

DOC

See it.

Licence

@ Apache

/miox-core/

    Package Sidebar

    Install

    npm i miox-core

    Weekly Downloads

    4

    Version

    1.2.6

    License

    MIT

    Last publish

    Collaborators

    • evio
    • liyangready