@bpnet/mate-ts

Mate Library

Usage no npm install needed!

<script type="module">
  import bpnetMateTs from 'https://cdn.skypack.dev/@bpnet/mate-ts';
</script>

README

Mate

Framework to build fast and easy controllable logical part of web application. Mate is written using TypeScript and uses jQuery as a DOM-controlling part.

Table of contents

Installation

Run npm install --save mate or npm i -S mate

Quick start

Import Application class definition into your main module file of the project - index.js for example.

import {Application} from "mate"

Create application instance:

const app = new Application({
    autoInit: true,
    logLevel: LogLevel.DEBUG,
    name: 'WoW Inside application'
});

That's all. At this point you already have an empty application object. To continue and add controllers, stores, models, resources, states and so on, please, read the guide on the official web site to learn Mate deeply.