Base project structure generator for Laravel 8+ empty projects. Uses TailwindCSS and VueJs
Install via composer
composer require akizor/scaffold
php artisan scaffold:general
After everything is installed, you'll be prompted what steps needs to be done.
# Development mode
npm run watch
# Production mode
npm run prod
Packages scaffold a base project structure for an empty Laravel 8+ project.
Carefull, the following files will be overwritten by the generator. Make sure you check them.
- app
- Providers
FrontendServiceProvider.php
- Http
- Controllers
- Frontend
HomeController.php
- Frontend
- Controllers
- Providers
- resources
- js
app.js
boostrap.js
- scss
app.scss
- tailwind
base.scss
components.scss
utilities.scss
- views
- site
- layouts
app.blade.php
- partials
age-gate.blade.php
analytics.blade.php
favicon.blade.php
footer.blade.php
header.blade.php
meta.blade.php
- pages
home.blade.php
- layouts
- site
- js
- routes
frontend.php
tailwind.config.js
webpack.mix.js
Installs Laravel-Mix, TailwindCSS (JIT mode included), VueJS and the build tools & configuration required by Laravel Mix to build assets.
webpack.mix.js
and tailwind.config.js
are preconfigured.
If you discover any security related issues, please email instead of using the issue tracker.
Daniel Placinta