How to use the noahv-visual-components.setOptions function in noahv-visual-components

To help you get started, we’ve selected a few noahv-visual-components examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github baidu / NoahV / doc / src / main.js View on Github external
Vue.component('sa-code', codeCom);
Vue.component('nv-code', codeCom);
Vue.component('nv-demo', nvDemo);

// keep this
Vue.use(VueRouter);


// import iview & noahvComponent
Vue.use(iView);

Vue.use(noahvRequest);

Vue.use(noahvComponent);
Vue.use(visualComponent);
visualComponent.setOptions(Vue, Object.assign({}, highchartsConfig));

// use default layout with header config
noahv.layout(headerConfig, footerApp);

// If wanted diy layout, please use this line
// noahv.useLayout(layoutApp);

// keep this
noahv.router(routerConfig);

// if you want use baidu tongji, add this line
// for detail info, you can visit this page: http://tongji.baidu.com/web/help/article?id=174&type=0
noahv.useBaiduTrack('0c5bbc0355ed6e991518ff8c26d71dda')

// init project
noahv.start('#app', store);

noahv-visual-components

Visual Components Library For NoahV

Apache-2.0
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Popular noahv-visual-components functions

Similar packages