Skip to content

Commit 5017291

Browse files
authored
Merge pull request #637 from Laravel-Backpack/v7-upgrade-guide-misc
Little Suggestion for V7 Upgrade Guide
2 parents b7eecf5 + c5c50df commit 5017291

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

7.x-dev/upgrade-guide.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,11 @@ Please make sure your project respects the requirements below, before you start
5959
"backpack/revise-operation": "dev-next",
6060
"backpack/medialibrary-uploaders": "dev-next",
6161
"backpack/devtools": "dev-next",
62+
"backpack/generators": "dev-next",
6263
```
6364

65+
> **Note:** To install Backpack v7 beta and its add-ons, set `"minimum-stability": "beta"` in your `composer.json`.
66+
6467
<a name="step-3" href="#step-3" class="badge badge-danger text-white" style="text-decoration: none;">Step 3.</a> Let's get the latest Backpack and install it. If you get any conflicts with **Backpack 1st party add-ons**, most of the time you just need to move one version up, eg: from `backpack/menucrud: ^3.0` to `backpack/menucrud: ^4.0`. See the step above again. Please run:
6568

6669
```bash
@@ -91,7 +94,7 @@ No changes needed.
9194
<a name="config"></a>
9295
### Config
9396

94-
**Theme Tabler** - The default layout for theme tabler has changed. If you had the tabler config published you are good to go. **In case you don't have the tabler theme config published** and want to keep the old layout, you should publish it by running `php artisan vendor:publish --tag="theme-tabler-config"` and changing:
97+
**Theme Tabler** - The default layout for theme tabler has changed. If you had the tabler config published you are good to go. **In case you don't have the tabler theme config published** and want to keep the old layout, you should publish it by running `php artisan vendor:publish --tag="theme-tabler-config"` and changing:
9598
```diff
9699
- 'layout' => 'horizontal',
97100
+ 'layout' => 'horizontal_overlap',
@@ -155,10 +158,10 @@ If the table view still looks wonky (search bar out of place, big + instead of e
155158
<a name="addons"></a>
156159
### Upgrade Add-ons
157160

158-
**backpack/file-manager** Using the File Manager package? Most of the views that weren't in use were removed, and the dependencies were bumped. If you didn't do any customization you should delete the `resources/views/vendor/elfinder` (`rm -rf resources/views/vendor/elfinder`) folder.
161+
**backpack/file-manager** Using the File Manager package? Most of the views that weren't in use were removed, and the dependencies were bumped. If you didn't do any customization you should delete the `resources/views/vendor/elfinder` (`rm -rf resources/views/vendor/elfinder`) folder.
159162
No need to publish any views anymore if you are not customizing them. If you were, publish the new view files (`php artisan vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="elfinder-views"`). Then apply your customization on the new files, now located at: `resources/views/vendor/backpack/filemanager/`
160163

161-
Additional the `browse` and `browse_multiple` **fields/columns** are now part of this package. If you previously made any modifications to this fields/columns you should publish the new views (`php artisan vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="filemanger-fields"` and `php artisan vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="filemanager-columns"`), and carry over the modifications from the old files to this new files.
164+
Additional the `browse` and `browse_multiple` **fields/columns** are now part of this package. If you previously made any modifications to this fields/columns you should publish the new views (`php artisan vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="filemanger-fields"` and `php artisan vendor:publish --provider="Backpack\FileManager\FileManagerServiceProvider" --tag="filemanager-columns"`), and carry over the modifications from the old files to this new files.
162165

163166
---
164167

0 commit comments

Comments
 (0)