Skip to content

Commit 76a9339

Browse files
committed
Make route to the view dynamic
1 parent 7b5f9ac commit 76a9339

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

lib/generators/inertia/install/templates/react/InertiaExample.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function InertiaExample({ rails_version, ruby_version, rack_versi
3131
<div className={cs.footer}>
3232
<div className={cs.card}>
3333
<p>
34-
Edit <code>app/frontend/pages/inertia_example/index.jsx</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
34+
Edit <code><%= js_destination_path %>/pages/inertia_example/index.jsx</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
3535
</p>
3636
</div>
3737

lib/generators/inertia/install/templates/react/InertiaExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function InertiaExample(
3434
<div className={cs.footer}>
3535
<div className={cs.card}>
3636
<p>
37-
Edit <code>app/frontend/pages/inertia_example/index.jsx</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
37+
Edit <code><%= js_destination_path %>/pages/inertia_example/index.jsx</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
3838
</p>
3939
</div>
4040

lib/generators/inertia/install/templates/svelte/InertiaExample.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<div class="footer">
2929
<div class="card">
3030
<p>
31-
Edit <code>app/frontend/pages/inertia_example/index.svelte</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
31+
Edit <code><%= js_destination_path %>/pages/inertia_example/index.svelte</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
3232
</p>
3333
</div>
3434

lib/generators/inertia/install/templates/svelte/InertiaExample.ts.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<div class="footer">
3030
<div class="card">
3131
<p>
32-
Edit <code>app/frontend/pages/inertia_example/index.svelte</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
32+
Edit <code><%= js_destination_path %>/pages/inertia_example/index.svelte</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
3333
</p>
3434
</div>
3535

lib/generators/inertia/install/templates/vue/InertiaExample.ts.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="footer">
1818
<div class="card">
1919
<p>
20-
Edit <code>app/frontend/pages/inertia_example/index.ts.vue</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
20+
Edit <code><%= js_destination_path %>/pages/inertia_example/index.ts.vue</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
2121
</p>
2222
</div>
2323

lib/generators/inertia/install/templates/vue/InertiaExample.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="footer">
1818
<div class="card">
1919
<p>
20-
Edit <code>app/frontend/pages/inertia_example/index.vue</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
20+
Edit <code><%= js_destination_path %>/pages/inertia_example/index.vue</code> and save to test <abbr title="Hot Module Replacement">HMR</abbr>.
2121
</p>
2222
</div>
2323

0 commit comments

Comments
 (0)