wbjs-loader2

WBJS framework loader for vuejs2
842
Install
npm install wbjs-loader2
Latest Version:5.4.0
License:MIT
Last Updated:Sep 13, 2023
Links: npm
Maintainer: wissemb11

wbjs-loader2 Version=5.4.0

Props viewData

WBJS2 is a custom VueJS framework based on the WBC-UI2 component. Its views are globally watched, managed, and controlled via the wbjs-loader2 base class. wbjs-loader2 contains essentially the WBGC component and automatically install wbc-ui2 and wbc-list2. WBGC component allows:

  • structure the views.
  • controls the JS objects of the view.
  • interact with the server side.

For details guide, visit http://www.wbjs.net/

3- WBGC configuration

In main.js install WBGC plugin (WBGC_plugin) in your app.

Then, your main.js have this structure


import router from <your_router_path>;
import store from <your_store_path>;
import vuetify from <your_plugins_vuetify>;

#install plugin to Vue instamce
import * as WBGC_ui2_pluging from "wbjs-loader2";
Vue.use(WBGC_ui2_pluging, {  store,router,vuetify  });

new Vue({
    render: (h) => h(App),
}).$mount("#app");

The contribution

1- The components WBC and WBList are registered globally to the main app and to WBGC component.

2- Vuetify components are registered globally to the main app and to WBGC component.

3- All global registered components are automatically injected to WBGC.

How to use WBGC?

For details guide, visit http://www.wbjs.net/

Syntax

<WBGC :viewData="viewData"></WBGC>

Version History

Version Released License
5.4.0 MIT
5.3.0 MIT
5.2.9 MIT
5.2.8 MIT
5.2.7 MIT
Pre-releases (15)
Version Released License
5.2.6-r02 MIT
5.2.6-r01 MIT
5.1.1-r074 MIT
5.1.1-r073 MIT
5.1.1-r072 MIT