kamona / laravel-windmill-presets
A laravel front-end scaffolding preset for windmill dashboard
Installs: 1 532
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 3
Open Issues: 0
Language:Blade
pkg:composer/kamona/laravel-windmill-presets
Requires
- laravel/framework: ^7.0||^8.0
- laravel/ui: ^3.0
This package is auto-updated.
Last update: 2021-03-13 21:06:14 UTC
README
A Laravel 7.0+ front-end scaffolding preset for Windmill-Dashboard
Note
We recommend installing this preset on a project that you are starting from scratch, otherwise your project's design might break.
IF you want to use laravel/fortify check this repo kamona/fortify-windmill .
Usage
- Fresh install Laravel >= 7.0 and cdto your app.
- Install this preset via composer require kamona/laravel-windmill-presets. Laravel will automatically discover this package. No need to register the service provider.
a. For Presets without Authentication
- Use php artisan ui windmillfor the basic CSS, JS preset it also update yourpackage.json,webpack.mix.jsand puttailwind.config.js
- npm install && npm run dev
- php artisan serve
b. For Presets with Authentication
- Use php artisan ui windmill --authfor the basic preset, auth route entry, and Windmill auth views in one go. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries inroutes/web.phpand runnpm install && npm run devagain)
- npm install && npm run dev
- Configure your favorite database (mysql, sqlite etc.)
- php artisan migrateto create basic user tables.
- php artisan serve(or equivalent) to run server and test preset.
Edit views
Sidebar links views/partials/sidebar/sidebar-content.blade.php.
Sidebar header views/partials/sidebar/sidebar-header.blade.php.
Sidebar footer views/partials/sidebar/sidebar-footer.blade.php.
Navbar right links views/partials/navbar/navbar-links.blade.php.
Layouts views/layouts.
Dashboard views/home.blade.php
Side note
I know my English is horrible so please forgive me. I hope you will understand what I want to say in this read me file.
Screenshots
| Welcome Light | Welcome Dark | 
|---|---|
|  |  | 
| Register Light | Register Dark | 
|---|---|
|  |  | 
| Login Light | Login Dark | 
|---|---|
|  |  | 
| Reset Password Light | Reset Password Dark | 
|---|---|
|  |  | 
| Dashboard Light | Dashboard Dark | 
|---|---|
|  |  | 
| Mobile Light | Mobile Dark | 
|---|---|
|  |  | 
|  |  |