@ribajs/core

2.0.0-rc.21 • Public • Published

Core Module

Install

npm install --save @ribajs/core

Regist

To regist the module include import coreModule from '@ribajs/core'; in your main.ts file and regist the module with riba.module.register(coreModule.init());:

import { Riba, coreModule } from '@ribajs/core';
import { ready } from '@ribajs/utils/src/dom';
const riba = new Riba();
const model = {};
riba.module.register(coreModule.init());
ready(() => {
  riba.bind(document.body, model);
});

Package Sidebar

Install

npm i @ribajs/core

Weekly Downloads

12

Version

2.0.0-rc.21

License

MIT

Unpacked Size

1.15 MB

Total Files

718

Last publish

Collaborators

  • jumplink