wbjs-loader2
v5.4.0
Published
WBJS framework loader for vuejs2
Downloads
19
Readme
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>