diff --git a/index.html b/index.html
index f73024f69e..332b04eccd 100644
--- a/index.html
+++ b/index.html
@@ -43,6 +43,8 @@
].forEach(
openmct.legacyRegistry.enable.bind(openmct.legacyRegistry)
);
+
+ openmct.install(openmct.plugins.Espresso());
openmct.install(openmct.plugins.MyItems());
openmct.install(openmct.plugins.LocalStorage());
openmct.install(openmct.plugins.Generator());
diff --git a/package.json b/package.json
index 6c990dc0c4..d15a69e91e 100644
--- a/package.json
+++ b/package.json
@@ -11,8 +11,8 @@
"comma-separated-values": "^3.6.4",
"concurrently": "^3.6.1",
"copy-webpack-plugin": "^4.5.2",
- "css-loader": "^1.0.0",
"cross-env": "^6.0.3",
+ "css-loader": "^1.0.0",
"d3-array": "1.2.x",
"d3-axis": "1.0.x",
"d3-collection": "1.0.x",
@@ -63,7 +63,7 @@
"raw-loader": "^0.5.1",
"request": "^2.69.0",
"split": "^1.0.0",
- "style-loader": "^0.21.0",
+ "style-loader": "^1.0.1",
"v8-compile-cache": "^1.1.0",
"vue": "2.5.6",
"vue-loader": "^15.2.6",
diff --git a/src/MCT.js b/src/MCT.js
index 404153ab5a..9b2f145db5 100644
--- a/src/MCT.js
+++ b/src/MCT.js
@@ -38,7 +38,6 @@ define([
'./ui/router/ApplicationRouter',
'./ui/router/Browse',
'../platform/framework/src/Main',
- './styles/core.scss',
'./styles/notebook.scss',
'./ui/layout/Layout.vue',
'../platform/core/src/objects/DomainObjectImpl',
@@ -66,7 +65,6 @@ define([
ApplicationRouter,
Browse,
Main,
- coreStyles,
NotebookStyles,
Layout,
DomainObjectImpl,
@@ -318,11 +316,26 @@ define([
* @memberof module:openmct.MCT#
* @method setAssetPath
*/
- MCT.prototype.setAssetPath = function (path) {
- this.legacyExtension('constants', {
- key: "ASSETS_PATH",
- value: path
- });
+ MCT.prototype.setAssetPath = function (assetPath) {
+ this._assetPath = assetPath;
+ };
+
+ /**
+ * Get path to where assets are hosted.
+ * @memberof module:openmct.MCT#
+ * @method getAssetPath
+ */
+ MCT.prototype.getAssetPath = function () {
+ const assetPathLength = this._assetPath && this._assetPath.length;
+ if (!assetPathLength) {
+ return '/';
+ }
+
+ if (this._assetPath[assetPathLength - 1] !== '/') {
+ return this._assetPath + '/';
+ }
+
+ return this._assetPath;
};
/**
diff --git a/src/api/overlays/components/DialogComponent.vue b/src/api/overlays/components/DialogComponent.vue
index 23991c0bf6..9193d302bd 100644
--- a/src/api/overlays/components/DialogComponent.vue
+++ b/src/api/overlays/components/DialogComponent.vue
@@ -33,92 +33,6 @@
-
-