You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return (
<>
<Layout shopName={shopName}>
{configDone ? <HydrogenLogoBaseColor /> : <HydrogenLogoBaseBW />}
<h1>Hello, {shopName || 'Hydrogen'}</h1>
<p>Welcome to your new custom storefront</p>
<section className="Banner">
<div>
<IconBanner />
<h2>Configure storefront token</h2>
</div>
<p>
You’re seeing this because you have not yet configured your
storefront token. To get started, edit {` `}
<code>.env</code>. Then, create your first route with the file {` `}
<code>/app/routes/index.jsx</code>. Learn more about
{` `}
<a href="https://shopify.dev/docs/custom-storefronts/hydrogen/environment-variables">
editing environment variables
</a>
and
<a href="https://shopify.dev/docs/custom-storefronts/hydrogen/building/begin-development#step-4-create-a-route">
creating routes
</a>
.
</p>
</section>
<ResourcesLinks />
</Layout>
</>
);
}
Actual Behavior
The Configure storefront token banner contains a link ("connecting a storefront") that points to this getting started guide. This guide doesn't actually contain information about configuring your Storefront API token or setting up your first route.
The text was updated successfully, but these errors were encountered:
What is the location of your example repository?
No response
What version of Hydrogen are you using?
The latest! :)
What version of Remix are you using?
No response
Steps to Reproduce
Expected Behavior
In the
Configure storefront token
banner, we should probably point to the environment variables and create a route steps instead of the getting started guide.https://github.com/Shopify/hydrogen/blob/2023-01/packages/cli/src/virtual-routes/routes/index.tsx could include the following update:
Actual Behavior
The
Configure storefront token
banner contains a link ("connecting a storefront") that points to this getting started guide. This guide doesn't actually contain information about configuring your Storefront API token or setting up your first route.The text was updated successfully, but these errors were encountered: