Skip to content

Commit b75ad9a

Browse files
rvyhvnifox
authored andcommitted
Update page builder guide with Laravel 12.x links and storage:link
- Updating Laravel version references to `12.x` - Adding the `storage:link` command step - Including the troubleshooting tip for `APP_URL`
1 parent 199c008 commit b75ad9a

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

docs/content/2_guides/1_page-builder-with-blade/2_installing-laravel.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ If you have any questions about a step, let us know on our Discord and we will t
99

1010
## Install Laravel
1111

12-
For the installation of Laravel, we will use some steps from the [official documentation](https://laravel.com/docs/10.x).
12+
For the installation of Laravel, we will use some steps from the [official documentation](https://laravel.com/docs/12.x).
1313

1414
The official documentation is a goldmine of knowledge, if you ever have trouble understanding a concept, make sure to
1515
check it out!
@@ -41,7 +41,11 @@ While you are there, make sure that `APP_URL` matches your local url. For exampl
4141

4242
`APP_URL=http://laravel-twill.test`
4343

44-
If you do not have MySQL setup, you can use [SQLite](https://laravel.com/docs/10.x#databases-and-migrations) as well.
44+
If you are using the default `php artisan serve` command, the url will be `http://127.0.0.1:8000`.
45+
46+
> If your `APP_URL` is set to `http://localhost`, you might experience issues with image cropping. Changing it to `http://127.0.0.1:8000` (or your local IP) should fix this.
47+
48+
If you do not have MySQL setup, you can use [SQLite](https://laravel.com/docs/12.x/installation#databases-and-migrations) as well.
4549

4650
As mentioned before, the Laravel documentation is far more extensive about the setup procedure, if this guide went too quick, make sure to give those a read.
4751

docs/content/2_guides/1_page-builder-with-blade/3_installing-twill.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Twill is a standard Laravel package, that means, we only have to require it (and
44

55
So, before we get to the process of building our CMS, let's install Twill.
66

7-
We can do this using `composer require area17/twill:"^3.4"`.
7+
We can do this using `composer require area17/twill:"^3.5"`.
88

99
This will install Twill 3 alongside all other required packages.
1010

@@ -63,6 +63,10 @@ As you can see from the output, it:
6363
- Publishes the assets
6464
- Prompts you to create a super admin
6565

66+
Finally, run the `storage:link` command to create the symbolic link for the storage directory:
67+
68+
`php artisan storage:link`
69+
6670
Once you have filled everything in, we can refresh our browser. We now see a proper login screen:
6771

6872
<!-- <div class="max-w-lg mx-auto"></div> -->

0 commit comments

Comments
 (0)