https://github.com/emi420/Mootor/blob/master/dist/mootor-beta-v0.1.zip?raw=true
You must run the app on a webserver, for example:
- views/my-view/my-view.html HTML content for the view
- views/my-view/my-view.css CSS styles for the view
- views/my-view/my-view.js JavaScript code for the view
The scripting of this view will be on views/my-view/my-view.js , for example:
m.app.view("my-view").on("load", function() {
// code here
});
var app = m.app({
views: [
"index",
"my-view",
app.route("^#my-view$", app.view("my-view"));
Now you can load the view on the browser, for example:
http://localhost/mootor-app/#my-view
https://github.com/emi420/Mootor/blob/master/doc-ui.md
https://github.com/emi420/Mootor/blob/master/doc-js.md
You can implement a Mootor app with Angular, check out this example:
https://github.com/emi420/Mootor/tree/master/examples/angular