${this._renderContainerDetails(devService)}
${this._renderConfigDetails(devService)}
@@ -140,4 +140,4 @@ export class QwcDevServices extends observeState(QwcHotReloadElement) {
}
-customElements.define('qwc-dev-services', QwcDevServices);
\ No newline at end of file
+customElements.define('qwc-dev-services', QwcDevServices);
diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension-link.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension-link.js
index c514dfd82b43e..8dcae610d8625 100644
--- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension-link.js
+++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension-link.js
@@ -2,7 +2,7 @@ import { QwcHotReloadElement, html, css} from 'qwc-hot-reload-element';
import { unsafeHTML } from 'lit-html/directives/unsafe-html.js';
import { JsonRpc } from 'jsonrpc';
import '@vaadin/icon';
-import 'qui-badge';
+import '@qomponent/qui-badge';
/**
* This component adds a custom link on the Extension card
diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension.js
index bb97a368653df..5c76cb0bfe8bd 100644
--- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension.js
+++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension.js
@@ -2,7 +2,7 @@ import { LitElement, html, css} from 'lit';
import '@vaadin/icon';
import '@vaadin/dialog';
import { dialogHeaderRenderer, dialogRenderer } from '@vaadin/dialog/lit.js';
-import 'qui-badge';
+import '@qomponent/qui-badge';
/**
* This component represent one extension
@@ -123,9 +123,9 @@ export class QwcExtension extends LitElement {
>
- ${this._headerTemplate()}
-
- ${this._footerTemplate()}
+ ${this._headerTemplate()}
+
+ ${this._footerTemplate()}
`;
}
diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-external-page.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-external-page.js
index 3b67934b3185a..5bf4e2c3a1218 100644
--- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-external-page.js
+++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-external-page.js
@@ -4,7 +4,7 @@ import { JsonRpc } from 'jsonrpc';
import { observeState } from 'lit-element-state';
import { themeState } from 'theme-state';
import '@vaadin/icon';
-import '@quarkus-webcomponents/codeblock';
+import '@qomponent/qui-code-block';
import '@vaadin/progress-bar';
/**
diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-server-log.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-server-log.js
index d9a63017d3525..838189ff4e6df 100644
--- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-server-log.js
+++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-server-log.js
@@ -3,19 +3,19 @@ import { repeat } from 'lit/directives/repeat.js';
import { LogController } from 'log-controller';
import { JsonRpc } from 'jsonrpc';
import { unsafeHTML } from 'lit-html/directives/unsafe-html.js';
+import { loggerLevels } from 'devui-data';
import '@vaadin/icon';
import '@vaadin/dialog';
import '@vaadin/select';
import '@vaadin/checkbox';
import '@vaadin/checkbox-group';
import { dialogHeaderRenderer, dialogRenderer } from '@vaadin/dialog/lit.js';
-import 'qui-badge';
-import 'qui-ide-link';
import '@vaadin/grid';
import { columnBodyRenderer } from '@vaadin/grid/lit.js';
import '@vaadin/grid/vaadin-grid-sort-column.js';
import '@vaadin/vertical-layout';
-import { loggerLevels } from 'devui-data';
+import '@qomponent/qui-badge';
+import 'qui-ide-link';
/**
* This component represent the Server Log
diff --git a/extensions/vertx-http/runtime/src/main/java/io/quarkus/devui/runtime/MvnpmHandler.java b/extensions/vertx-http/runtime/src/main/java/io/quarkus/devui/runtime/MvnpmHandler.java
index 01e1a5f364174..2a454da27af2d 100644
--- a/extensions/vertx-http/runtime/src/main/java/io/quarkus/devui/runtime/MvnpmHandler.java
+++ b/extensions/vertx-http/runtime/src/main/java/io/quarkus/devui/runtime/MvnpmHandler.java
@@ -80,7 +80,7 @@ private String formatDate(TemporalAccessor t) {
private String getContentType(String filename) {
String f = filename.toLowerCase();
- if (f.endsWith(DOT_JS)) {
+ if (f.endsWith(DOT_JS) || f.endsWith(DOT_MJS)) {
return CONTENT_TYPE_JAVASCRIPT;
} else if (f.endsWith(DOT_JSON)) {
return CONTENT_TYPE_JSON;
@@ -103,7 +103,7 @@ private String getContentType(String filename) {
// .woff Web Open Font Format (WOFF) font/woff
// .woff2 Web Open Font Format (WOFF) font/woff2
- return CONTENT_TYPE_TEXT; // default
+ return CONTENT_TYPE_JAVASCRIPT; // default
}
@@ -111,6 +111,7 @@ private String getContentType(String filename) {
private static final String BASE_DIR = "META-INF/resources";
private static final String DOT = ".";
private static final String DOT_JS = ".js";
+ private static final String DOT_MJS = ".mjs";
private static final String DOT_JSON = ".json";
private static final String DOT_HTML = ".html";
private static final String DOT_HTM = ".htm";