Skip to content

Commit ebd20f8

Browse files
authored
Merge pull request #8 from connorabbas/develop
Small Changes
2 parents 3d01b4d + c7565d8 commit ebd20f8

File tree

13 files changed

+159
-835
lines changed

13 files changed

+159
-835
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
# Laravel Breeze & PrimeVue
2-
A starter kit using [Laravel Breeze](https://laravel.com/docs/master/starter-kits#laravel-breeze) with the [Intertia.js](https://inertiajs.com/) Vue option, utilizing [PrimeVue v4](https://primevue.org/) components.
3-
4-
![image](https://github.com/connorabbas/primevue-auth-starter/assets/89364288/825f9296-ee84-428f-9937-ff1a16b53d53)
2+
A starter kit using [Laravel Breeze](https://laravel.com/docs/master/starter-kits#laravel-breeze) with the [Intertia.js](https://inertiajs.com/) Vue option, utilizing [PrimeVue](https://primevue.org/) components.
53

64
## Installation
75
1. Clone the repo (or download the zip)
86
```
9-
git clone https://github.com/connorabbas/primevue-auth-starter.git
7+
git clone https://github.com/connorabbas/primevue-breeze-inertia.git
108
```
119

1210
2. Step into the project directory
1311
```
14-
cd ./primevue-auth-starter
12+
cd ./primevue-breeze-inertia
1513
```
1614

1715
3. Install the framework and other packages
@@ -53,7 +51,7 @@ A starter kit using [Laravel Breeze](https://laravel.com/docs/master/starter-kit
5351
## Theme
5452
This starter kit provides a light/dark mode and custom theme functionality provided by the powerful PrimeVue theming system, using styled mode and custom design token values.
5553

56-
The starting point for customizing your theme will be the `resources\js\Modules\theme-preset.mjs` module file. To quickly change the look and feel of your theme, swap the [primary](https://primevue.org/theming/styled/#primary) values with a different set of [colors](https://primevue.org/theming/styled/#colors), change the [surface](https://primevue.org/theming/styled/#surface) `colorScheme` values (slate, gray, neutral, etc.), or completely change the [preset theme](https://primevue.org/theming/styled/#presets) (Aura used by default).
54+
The starting point for customizing your theme will be the `resources/js/theme-preset.js` module file. To quickly change the look and feel of your theme, swap the [primary](https://primevue.org/theming/styled/#primary) values with a different set of [colors](https://primevue.org/theming/styled/#colors), change the [surface](https://primevue.org/theming/styled/#surface) `colorScheme` values (slate, gray, neutral, etc.), or completely change the [preset theme](https://primevue.org/theming/styled/#presets) (Aura used by default).
5755

5856
Please reference the [PrimeVue Styled Mode Docs](https://primevue.org/theming/styled/) to fully understand how this system work, and how to further customize your theme to make it your own.
5957

app/Http/Controllers/Auth/RegisteredUserController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function create(): Response
3131
public function store(Request $request): RedirectResponse
3232
{
3333
$request->validate([
34-
'name' => 'required|string|max:255',
35-
'email' => 'required|string|lowercase|email|max:255|unique:' . User::class,
34+
'name' => ['required', 'string', 'max:255'],
35+
'email' => ['required', 'string', 'lowercase', 'email', 'max:255', 'unique:' . User::class],
3636
'password' => ['required', 'confirmed', Rules\Password::defaults()],
3737
]);
3838

0 commit comments

Comments
 (0)