From cdb6b43f12837c820de7cfb78c9dc48d8abbc87e Mon Sep 17 00:00:00 2001 From: Jess Archer Date: Tue, 9 Aug 2022 12:34:36 +1000 Subject: [PATCH] Update components directory location --- 2.x/features/password-confirmation.md | 2 +- 2.x/installation.md | 2 +- 2.x/stacks/inertia.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/2.x/features/password-confirmation.md b/2.x/features/password-confirmation.md index 2e1c32d..b4d022a 100644 --- a/2.x/features/password-confirmation.md +++ b/2.x/features/password-confirmation.md @@ -152,7 +152,7 @@ Once the user has confirmed their password, they will not be required to re-ente If you are using the Inertia stack, you should wrap the user interface element that triggers an action requiring password confirmation with the `ConfirmsPassword` Vue component provided by Jetstream. To get started, import the `ConfirmsPassword` component into your page: ```js -import JetConfirmsPassword from './Jetstream/ConfirmsPassword' +import JetConfirmsPassword from './Components/ConfirmsPassword' export default { components: { diff --git a/2.x/installation.md b/2.x/installation.md index 63b97d4..5e40ca2 100644 --- a/2.x/installation.md +++ b/2.x/installation.md @@ -73,7 +73,7 @@ Next, you should customize the SVGs located in the `resources/views/vendor/jetst ### Inertia -If you are using the Inertia stack, you should customize the SVGs located in `resources/js/Jetstream/AuthenticationCardLogo.vue`, `resources/js/Jetstream/ApplicationLogo.vue`, and `resources/js/Jetstream/ApplicationMark.vue`. +If you are using the Inertia stack, you should customize the SVGs located in `resources/js/Components/AuthenticationCardLogo.vue`, `resources/js/Components/ApplicationLogo.vue`, and `resources/js/Components/ApplicationMark.vue`. After customizing these components, you should rebuild your assets: diff --git a/2.x/stacks/inertia.md b/2.x/stacks/inertia.md index 23b4b36..2856e57 100644 --- a/2.x/stacks/inertia.md +++ b/2.x/stacks/inertia.md @@ -35,7 +35,7 @@ Before using the Inertia stack, you are strongly encouraged to review the entire ## Components -When we created the Jetstream Inertia stack, a variety of Vue components (buttons, panels, inputs, modals) were created to assist in creating UI consistency and ease of use. You are free to use or not use these components. All of these components are located within your application's `resources/js/Jetstream` directory. +When we created the Jetstream Inertia stack, a variety of Vue components (buttons, panels, inputs, modals) were created to assist in creating UI consistency and ease of use. You are free to use or not use these components. All of these components are located within your application's `resources/js/Components` directory. You may gain insight into how to use these components by reviewing their usage within Jetstream's existing pages located within your application's `resources/js/Pages` directory.