app configuration and App entrypoint update
This commit is contained in:
1 parent
c127b0c260
commit
b848ad8f0e
5 files changed
+117
-54
No files matched your search
@@ -8,10 +8,25 @@ import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
// test
|
||||
|
||||
/**
|
||||
* EXTENSIONS
|
||||
* =================
|
||||
*
|
||||
* Importing and modifying the extensions our app uses HERE allows us to leverage
|
||||
* tree shaking and a few other niceties. However, by including them here they become
|
||||
* "baked in" to the published application.
|
||||
*
|
||||
* Depending on your use case/needs, you may want to consider not adding any extensions
|
||||
* by default HERE, and instead provide them via the extensions configuration key or
|
||||
* by using the exported `App` component, and passing in your extensions as props using
|
||||
* the defaultExtensions property.
|
||||
*/
|
||||
import OHIFDefaultExtension from '@ohif/extension-default';
|
||||
|
||||
/** Combine our appConfiguration and "baked-in" extensions */
|
||||
const appProps = {
|
||||
config: window ? window.config : {},
|
||||
defaultExtensions: [],
|
||||
defaultExtensions: [OHIFDefaultExtension],
|
||||
};
|
||||
|
||||
/** Create App */
|
||||
|
||||
Reference in new issue
Block a user