From 6f24237a1b75327fb0e5e6d55bf3d31dc9d1b607 Mon Sep 17 00:00:00 2001 From: PedroAugustoRamalhoDuarte Date: Sun, 22 Dec 2024 12:08:41 -0300 Subject: [PATCH] changes docs url from .netlify.app to .dev --- .../inertia/install/templates/react/InertiaExample.tsx | 2 +- lib/generators/inertia/install/templates/react/inertia.ts | 6 +++--- .../inertia/install/templates/svelte/InertiaExample.svelte | 2 +- .../install/templates/svelte/InertiaExample.ts.svelte | 2 +- lib/generators/inertia/install/templates/svelte/inertia.js | 6 +++--- .../inertia/install/templates/svelte/inertia.ts.tt | 6 +++--- .../inertia/install/templates/svelte4/InertiaExample.svelte | 2 +- .../install/templates/svelte4/InertiaExample.ts.svelte | 2 +- lib/generators/inertia/install/templates/svelte4/inertia.js | 6 +++--- .../inertia/install/templates/svelte4/inertia.ts.tt | 6 +++--- .../inertia/install/templates/vue/InertiaExample.ts.vue | 2 +- .../inertia/install/templates/vue/InertiaExample.vue | 2 +- lib/generators/inertia/install/templates/vue/inertia.ts | 6 +++--- 13 files changed, 25 insertions(+), 25 deletions(-) diff --git a/lib/generators/inertia/install/templates/react/InertiaExample.tsx b/lib/generators/inertia/install/templates/react/InertiaExample.tsx index 8c9886c8..b5061b03 100644 --- a/lib/generators/inertia/install/templates/react/InertiaExample.tsx +++ b/lib/generators/inertia/install/templates/react/InertiaExample.tsx @@ -18,7 +18,7 @@ export default function InertiaExample({ name }: { name: string }) {

Hello {name}!

- + Inertia logo diff --git a/lib/generators/inertia/install/templates/react/inertia.ts b/lib/generators/inertia/install/templates/react/inertia.ts index d835cefd..9998974d 100644 --- a/lib/generators/inertia/install/templates/react/inertia.ts +++ b/lib/generators/inertia/install/templates/react/inertia.ts @@ -10,13 +10,13 @@ type ResolvedComponent = { createInertiaApp({ // Set default page title - // see https://inertia-rails.netlify.app/guide/title-and-meta + // see https://inertia-rails.dev/guide/title-and-meta // // title: title => title ? `${title} - App` : 'App', // Disable progress bar // - // see https://inertia-rails.netlify.app/guide/progress-indicators + // see https://inertia-rails.dev/guide/progress-indicators // progress: false, resolve: (name) => { @@ -30,7 +30,7 @@ createInertiaApp({ // To use a default layout, import the Layout component // and use the following line. - // see https://inertia-rails.netlify.app/guide/pages#default-layouts + // see https://inertia-rails.dev/guide/pages#default-layouts // // page.default.layout ||= (page) => createElement(Layout, null, page) diff --git a/lib/generators/inertia/install/templates/svelte/InertiaExample.svelte b/lib/generators/inertia/install/templates/svelte/InertiaExample.svelte index 4c6d2942..cdaf667b 100644 --- a/lib/generators/inertia/install/templates/svelte/InertiaExample.svelte +++ b/lib/generators/inertia/install/templates/svelte/InertiaExample.svelte @@ -16,7 +16,7 @@

Hello {name}!

- + diff --git a/lib/generators/inertia/install/templates/svelte/InertiaExample.ts.svelte b/lib/generators/inertia/install/templates/svelte/InertiaExample.ts.svelte index 0ed1c7df..a4e31248 100644 --- a/lib/generators/inertia/install/templates/svelte/InertiaExample.ts.svelte +++ b/lib/generators/inertia/install/templates/svelte/InertiaExample.ts.svelte @@ -16,7 +16,7 @@

Hello {name}!

- + diff --git a/lib/generators/inertia/install/templates/svelte/inertia.js b/lib/generators/inertia/install/templates/svelte/inertia.js index e5d0fd89..f664c984 100644 --- a/lib/generators/inertia/install/templates/svelte/inertia.js +++ b/lib/generators/inertia/install/templates/svelte/inertia.js @@ -3,13 +3,13 @@ import { mount } from 'svelte'; createInertiaApp({ // Set default page title - // see https://inertia-rails.netlify.app/guide/title-and-meta + // see https://inertia-rails.dev/guide/title-and-meta // // title: title => title ? `${title} - App` : 'App', // Disable progress bar // - // see https://inertia-rails.netlify.app/guide/progress-indicators + // see https://inertia-rails.dev/guide/progress-indicators // progress: false, resolve: (name) => { @@ -23,7 +23,7 @@ createInertiaApp({ // To use a default layout, import the Layout component // and use the following line. - // see https://inertia-rails.netlify.app/guide/pages#default-layouts + // see https://inertia-rails.dev/guide/pages#default-layouts // // return { default: page.default, layout: page.layout || Layout } diff --git a/lib/generators/inertia/install/templates/svelte/inertia.ts.tt b/lib/generators/inertia/install/templates/svelte/inertia.ts.tt index 0529c589..ebc1aacc 100644 --- a/lib/generators/inertia/install/templates/svelte/inertia.ts.tt +++ b/lib/generators/inertia/install/templates/svelte/inertia.ts.tt @@ -3,13 +3,13 @@ import { mount } from 'svelte' createInertiaApp({ // Set default page title - // see https://inertia-rails.netlify.app/guide/title-and-meta + // see https://inertia-rails.dev/guide/title-and-meta // // title: title => title ? `${title} - App` : 'App', // Disable progress bar // - // see https://inertia-rails.netlify.app/guide/progress-indicators + // see https://inertia-rails.dev/guide/progress-indicators // progress: false, resolve: (name) => { @@ -23,7 +23,7 @@ createInertiaApp({ // To use a default layout, import the Layout component // and use the following line. - // see https://inertia-rails.netlify.app/guide/pages#default-layouts + // see https://inertia-rails.dev/guide/pages#default-layouts // // return { default: page.default, layout: page.layout || Layout } diff --git a/lib/generators/inertia/install/templates/svelte4/InertiaExample.svelte b/lib/generators/inertia/install/templates/svelte4/InertiaExample.svelte index 96785fe5..b3589c42 100644 --- a/lib/generators/inertia/install/templates/svelte4/InertiaExample.svelte +++ b/lib/generators/inertia/install/templates/svelte4/InertiaExample.svelte @@ -20,7 +20,7 @@

Hello {name}!

- + diff --git a/lib/generators/inertia/install/templates/svelte4/InertiaExample.ts.svelte b/lib/generators/inertia/install/templates/svelte4/InertiaExample.ts.svelte index b0d42e3a..0ae6e21a 100644 --- a/lib/generators/inertia/install/templates/svelte4/InertiaExample.ts.svelte +++ b/lib/generators/inertia/install/templates/svelte4/InertiaExample.ts.svelte @@ -20,7 +20,7 @@

Hello {name}!

- + diff --git a/lib/generators/inertia/install/templates/svelte4/inertia.js b/lib/generators/inertia/install/templates/svelte4/inertia.js index 807786a7..e0b39358 100644 --- a/lib/generators/inertia/install/templates/svelte4/inertia.js +++ b/lib/generators/inertia/install/templates/svelte4/inertia.js @@ -2,13 +2,13 @@ import { createInertiaApp } from '@inertiajs/svelte' createInertiaApp({ // Set default page title - // see https://inertia-rails.netlify.app/guide/title-and-meta + // see https://inertia-rails.dev/guide/title-and-meta // // title: title => title ? `${title} - App` : 'App', // Disable progress bar // - // see https://inertia-rails.netlify.app/guide/progress-indicators + // see https://inertia-rails.dev/guide/progress-indicators // progress: false, resolve: (name) => { @@ -22,7 +22,7 @@ createInertiaApp({ // To use a default layout, import the Layout component // and use the following lines. - // see https://inertia-rails.netlify.app/guide/pages#default-layouts + // see https://inertia-rails.dev/guide/pages#default-layouts // // return { default: page.default, layout: page.layout || Layout } diff --git a/lib/generators/inertia/install/templates/svelte4/inertia.ts.tt b/lib/generators/inertia/install/templates/svelte4/inertia.ts.tt index cb59b054..4dce314b 100644 --- a/lib/generators/inertia/install/templates/svelte4/inertia.ts.tt +++ b/lib/generators/inertia/install/templates/svelte4/inertia.ts.tt @@ -2,13 +2,13 @@ import { createInertiaApp, type ResolvedComponent } from '@inertiajs/svelte' createInertiaApp({ // Set default page title - // see https://inertia-rails.netlify.app/guide/title-and-meta + // see https://inertia-rails.dev/guide/title-and-meta // // title: title => title ? `${title} - App` : 'App', // Disable progress bar // - // see https://inertia-rails.netlify.app/guide/progress-indicators + // see https://inertia-rails.dev/guide/progress-indicators // progress: false, resolve: (name) => { @@ -22,7 +22,7 @@ createInertiaApp({ // To use a default layout, import the Layout component // and use the following line. - // see https://inertia-rails.netlify.app/guide/pages#default-layouts + // see https://inertia-rails.dev/guide/pages#default-layouts // // return { default: page.default, layout: page.layout || Layout } diff --git a/lib/generators/inertia/install/templates/vue/InertiaExample.ts.vue b/lib/generators/inertia/install/templates/vue/InertiaExample.ts.vue index 93da5091..7392fc5a 100644 --- a/lib/generators/inertia/install/templates/vue/InertiaExample.ts.vue +++ b/lib/generators/inertia/install/templates/vue/InertiaExample.ts.vue @@ -5,7 +5,7 @@

Hello {{ name }}!

- + diff --git a/lib/generators/inertia/install/templates/vue/InertiaExample.vue b/lib/generators/inertia/install/templates/vue/InertiaExample.vue index 9070f466..dd14bdea 100644 --- a/lib/generators/inertia/install/templates/vue/InertiaExample.vue +++ b/lib/generators/inertia/install/templates/vue/InertiaExample.vue @@ -5,7 +5,7 @@

Hello {{ name }}!

- + diff --git a/lib/generators/inertia/install/templates/vue/inertia.ts b/lib/generators/inertia/install/templates/vue/inertia.ts index ad8b2756..7b043f6a 100644 --- a/lib/generators/inertia/install/templates/vue/inertia.ts +++ b/lib/generators/inertia/install/templates/vue/inertia.ts @@ -3,13 +3,13 @@ import { createApp, DefineComponent, h } from 'vue' createInertiaApp({ // Set default page title - // see https://inertia-rails.netlify.app/guide/title-and-meta + // see https://inertia-rails.dev/guide/title-and-meta // // title: title => title ? `${title} - App` : 'App', // Disable progress bar // - // see https://inertia-rails.netlify.app/guide/progress-indicators + // see https://inertia-rails.dev/guide/progress-indicators // progress: false, resolve: (name) => { @@ -20,7 +20,7 @@ createInertiaApp({ // To use a default layout, import the Layout component // and use the following lines. - // see https://inertia-rails.netlify.app/guide/pages#default-layouts + // see https://inertia-rails.dev/guide/pages#default-layouts // // const page = pages[`../pages/${name}.vue`] // page.default.layout = page.default.layout || Layout