You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then `cd` to project dir and install Breeze with Vue option
39
+
Then `cd` to project dir and install Jetstream with Inertia Vue stack
40
40
41
41
```bash
42
-
composer require laravel/breeze --dev
42
+
composer require laravel/jetstream
43
43
44
-
php artisan breeze:install vue
44
+
php artisan jetstream:install inertia
45
45
46
46
php artisan migrate
47
47
@@ -51,12 +51,12 @@ npm install
51
51
### Install dependencies
52
52
53
53
```bash
54
-
npm i pinia @tailwindcss/line-clamp @mdi/js chart.js numeral -D
54
+
npm i pinia @mdi/js chart.js numeral -D
55
55
```
56
56
57
57
## Copy styles, components and scripts
58
58
59
-
**Before you start,** we recommend to rename Laravel Breeze's original folders (so you'll keep them for future reference) — `resources/js/Components``resources/js/Layouts``resources/js/Pages` to something like ComponentsBreeze, LayoutsBreeze, etc.
59
+
**Before you start,** we recommend to rename Laravel Jetsreams's original folders (so you'll keep them for future reference) — `resources/js/Components``resources/js/Layouts``resources/js/Pages` to something like ComponentsJetsteam, LayoutsJetstream, etc.
60
60
61
61
Now clone [justboil/admin-one-vue-tailwind](https://github.com/justboil/admin-one-vue-tailwind) project somewhere locally (into any separate folder)
62
62
@@ -70,9 +70,9 @@ Next, copy these files **from justboil/admin-one-vue-tailwind project** director
70
70
71
71
### [optional] lowecase vs Capitalized folder names
72
72
73
-
Fresh Laravel install with Breeze provides **Capitalized** folder names such as `Components`, `Layouts`, etc. For the sake of simplicity we just follow Vue conventions with lowercase folder names. However, you may opt-in to capitalize folder names:
73
+
Fresh Laravel install with Jetstream provides **Capitalized** folder names such as `Components`, `Layouts`, etc. For the sake of simplicity we just follow Vue conventions with lowercase folder names. However, you may opt-in to capitalize folder names:
74
74
75
-
- Make sure you've removed original Laravel Breeze's `resources/js/Layouts` and `resources/js/Components` folders
75
+
- Make sure you've removed original Laravel Jetstream's `resources/js/Layouts` and `resources/js/Components` folders
76
76
- Rename the folders you've copied in the previous section: `resources/js/layouts` to `Layouts`; `components` to `Components`; `stores` to `Stores`
77
77
- Replace everywhere in imports: `@/layouts/` with `@/Layouts/`; `@/components/` with `@/Components/`; `@/stores/` with `@/Stores/`
78
78
@@ -481,9 +481,10 @@ indent_size = 2
481
481
482
482
### resources/js/bootstrap.js
483
483
484
-
Global `lodash` and `axios` aren't needed, as we import them directly when needed. Most likely, you'd not need `axios` at all, as Laravel pushes all data via Inertia.
484
+
Global `lodash` and `axios` aren't needed, as we import them directly when necessary.
0 commit comments