I am using the following plugin https://github.com/osiset/laravel-shopify for my larval Shopify app but everytime I try to add another view to the route I am getting a MissingShopingDomain Error.
I’m not sure what is causing this if its something the way my routes are being written or what’s in the script tags in each of the blade templates. Thanks!
web.php
use Illuminate\Support\Facades\Route;> Route::middleware([“auth.shopify”])->group(function(){> Route::view(“/”,“welcome”);> Route::view(“/settings”,“settings”);> });
default.blade.php
@extends(‘shopify-app::layouts.default’)> @section(‘content’)> @endsection> > @section(‘scripts’)> @endsection
welcome.blade.php
@extends(‘default’)> @section(‘content’)> >
This is the welcome page
Go to settings> @endsection> > @section(‘scripts’)> @parent> > @endsection
settings.blade.php
@extends(‘default’);> @section(‘content’)>
This is the Settings page
Go back to welcome> @endsection> @section(‘scripts’)> @parent> > @endsection