diff --git a/app/javascript/src/componentLoader/components/.gitkeep b/app/javascript/src/componentLoader/components/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/app/javascript/src/componentLoader/config.js b/app/javascript/src/componentLoader/config.js new file mode 100644 index 000000000..03048022a --- /dev/null +++ b/app/javascript/src/componentLoader/config.js @@ -0,0 +1,3 @@ +export default { + +} diff --git a/app/javascript/src/componentLoader/index.js b/app/javascript/src/componentLoader/index.js new file mode 100644 index 000000000..87e546305 --- /dev/null +++ b/app/javascript/src/componentLoader/index.js @@ -0,0 +1,6 @@ +import { createLoader } from 'react-hijack'; + +const componentLoader = createLoader((module) => import('' + module)); + +export default componentLoader; +