@nuxtjs/mdc 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxtjs/mdc",
3
3
  "configKey": "mdc",
4
- "version": "0.9.3",
4
+ "version": "0.9.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
@@ -253,6 +253,9 @@ const resolveVueComponent = (component) => {
253
253
  if (!component || _component?.name === "AsyncComponentWrapper") {
254
254
  return _component;
255
255
  }
256
+ if (typeof _component === "string") {
257
+ return _component;
258
+ }
256
259
  if ("setup" in _component) {
257
260
  return defineAsyncComponent(() => new Promise((resolve) => resolve(_component)));
258
261
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxtjs/mdc",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Nuxt MDC module",
5
5
  "repository": "nuxt-modules/mdc",
6
6
  "license": "MIT",