mofron
mofron is JavaScript Framework for Web UI.
It has a simple interface like .NET, Swing.
It makes possible to development front-end by only js.
Install
npm install mofron
Quick Start
This is a sample for login component.
By using this component you can simplify the build of a login page.
install mofron develop env
cd (deploy target dir)
git clone https://github.com/mofron/env-template.git (dirname)
cd (dirname)
./tool/init/centos.sh
install mofron and login component
npm install mofron mofron-comp-login
edit src/js/ctrl/init/index.js
let Login = require('mofron-comp-login');
let start = (rt) => {
try {
new Login().visible(true);
} catch (e) {
console.error(e.stack);
throw e;
}
}
create a js file for browser
./tool/build.sh
Please access to index.html, then you can see a login page.
