Skip to content

Commit

Permalink
fix(nuxt3-module): problem with autoloading composables within shopwa…
Browse files Browse the repository at this point in the history
…re plugin (#387)

* fix(nuxt3-module): problem with autoloading composables within shopware plugin

* chore: changeset
  • Loading branch information
mkucmus authored Sep 14, 2023
1 parent b4e51d9 commit 3520c26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/gentle-vans-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/nuxt3-module": patch
---

Load composables explicitly within the shopware plugin
2 changes: 1 addition & 1 deletion packages/nuxt3-module/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck
import { defineNuxtPlugin } from "#app";
import { defineNuxtPlugin, useRuntimeConfig, useCookie, useState } from "#app";
import {
createShopwareContext,
getDefaultApiParams,
Expand Down

2 comments on commit 3520c26

@vercel
Copy link

@vercel vercel bot commented on 3520c26 Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

frontends-demo – ./templates/vue-demo-store

frontends-demo.vercel.app
frontends-demo-git-main-shopware-frontends.vercel.app
frontends-demo-shopware-frontends.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3520c26 Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.