miox-core
v1.2.6
Published
miox next web tool
Downloads
21
Readme
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
Licence
@ Apache