mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 22:06:53 +08:00
16 lines
332 B
JavaScript
16 lines
332 B
JavaScript
/**
|
|
* Component root for rendering inside the styleguide, injects vuex store and other common elements
|
|
* into each component example section.
|
|
*/
|
|
|
|
import store from "../src/store";
|
|
|
|
export default (previewComponent) => {
|
|
return {
|
|
store,
|
|
render(h) {
|
|
return h(previewComponent);
|
|
},
|
|
};
|
|
};
|