Skip to content

Commit e5ce135

Browse files
authored
Update docs links (#203)
1 parent 94bccd9 commit e5ce135

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function InertiaExample({ name }) {
1818
<h1 className={cs.h1}>Hello {name}!</h1>
1919

2020
<div>
21-
<a href="https://inertia-rails.netlify.app" target="_blank">
21+
<a href="https://inertia-rails.dev" target="_blank">
2222
<img className={cs.logo} src={inertiaSvg} alt="Inertia logo" />
2323
</a>
2424
<a href="https://vite-ruby.netlify.app" target="_blank">

lib/generators/inertia/install/templates/react/inertia.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import { createRoot } from 'react-dom/client'
44

55
createInertiaApp({
66
// Set default page title
7-
// see https://inertia-rails.netlify.app/guide/title-and-meta
7+
// see https://inertia-rails.dev/guide/title-and-meta
88
//
99
// title: title => title ? `${title} - App` : 'App',
1010

1111
// Disable progress bar
1212
//
13-
// see https://inertia-rails.netlify.app/guide/progress-indicators
13+
// see https://inertia-rails.dev/guide/progress-indicators
1414
// progress: false,
1515

1616
resolve: (name) => {
@@ -24,7 +24,7 @@ createInertiaApp({
2424

2525
// To use a default layout, import the Layout component
2626
// and use the following lines.
27-
// see https://inertia-rails.netlify.app/guide/pages#default-layouts
27+
// see https://inertia-rails.dev/guide/pages#default-layouts
2828
//
2929
// page.default.layout ||= (page) => createElement(Layout, null, page)
3030

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { createApp, h } from 'vue'
33

44
createInertiaApp({
55
// Set default page title
6-
// see https://inertia-rails.netlify.app/guide/title-and-meta
6+
// see https://inertia-rails.dev/guide/title-and-meta
77
//
88
// title: title => title ? `${title} - App` : 'App',
99

1010
// Disable progress bar
1111
//
12-
// see https://inertia-rails.netlify.app/guide/progress-indicators
12+
// see https://inertia-rails.dev/guide/progress-indicators
1313
// progress: false,
1414

1515
resolve: (name) => {
@@ -20,7 +20,7 @@ createInertiaApp({
2020

2121
// To use a default layout, import the Layout component
2222
// and use the following lines.
23-
// see https://inertia-rails.netlify.app/guide/pages#default-layouts
23+
// see https://inertia-rails.dev/guide/pages#default-layouts
2424
//
2525
// const page = pages[`../pages/${name}.vue`]
2626
// page.default.layout = page.default.layout || Layout

0 commit comments

Comments
 (0)