App reviews, troubleshooting, and recommendations
I am using https://github.com/Kyon147/laravel-shopify this package to develop the Shopify app using the Laravel 11 version. Frontend engine REACT.
App Bridge is the latest.
This is my app.blade.php file:
<head> <meta name="shopify-api-key" content="xxx" /> <script src="https://cdn.shopify.com/shopifycloud/app-bridge.js"></script> @viteReactRefresh @vite('resources/js/index.tsx') </head> <body> <div id="app"><!--index.jsx injects App.jsx here--></div> </body>
And this is the `index.tsx` file:
import React from 'react'; import App from './App' import '@shopify/polaris/build/esm/styles.css'; import ReactDOM from 'react-dom/client'; const root = document.createElement('div'); document.body.appendChild(root); ReactDOM.createRoot(root).render(<App />);
But giving the below error. Blade is getting perfectly but not index.tsx file.
Try setting your APP_URL to the ngrok url and then set the url for vite.
VITE_APP_URL=${APP_URL}
I've also found using Cloudflare tunnels much better then ngrok. Here is a tutorial on how to set it up if you are using valet - https://gist.github.com/irazasyed/46295bc3b823bb3b13c9acd51b96b4ad
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025