Skip to content

Commit

Permalink
Update hello world template virtual route to use Remix V2 route name (#…
Browse files Browse the repository at this point in the history
…792)

* Update virtual route used in hello-world

use Remix v2 route name convention `_index.jsx`

* Added patch changeset for cli package change
  • Loading branch information
DavidWittness authored Apr 14, 2023
1 parent 6116da5 commit 475a39c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-eagles-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/cli-hydrogen': patch
---

Update virtual route to use Remix V2 route name conventions
2 changes: 1 addition & 1 deletion packages/cli/src/virtual-routes/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function Index() {
<br /> To get started, edit {` `}
<code>.env</code>. Then, create your first route with the file
{` `}
<code>/app/routes/index.jsx</code>. Learn more about
<code>/app/routes/_index.jsx</code>. Learn more about
{` `}
<a
target="_blank"
Expand Down

0 comments on commit 475a39c

Please sign in to comment.