Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

App bridge 4 not working in dev #347

Open
@linaori

Description

With this change: https://github.com/Shopify/shopify-frontend-template-react/pull/255/files#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051R20

It is supposed to insert the %VITE_SHOPIFY_API_KEY%, but not matter what I try this isn't inserted. When I run the build command it works fine and my key gets inserter, but in dev it doesn't get replaced. This causes all fetch() calls to just stop working and not do anything. I don't get errors, I don't get warnings, I don't get logs, I don't get http calls.

How am I supposed to get this to work in dev mode? The documentation doesn't specify anything, and there's nothing in the migration guide for this change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /