laravel-frontend-presets / zurb-foundation
Laravel 6.0+ front-end preset for Zurb Foundation
Installs: 16 957
Dependents: 0
Suggesters: 0
Security: 0
Stars: 52
Watchers: 7
Forks: 13
Open Issues: 3
Language:SCSS
Requires
- laravel/framework: ^5.5|^7.0
README
A Laravel front-end scaffolding preset for Zurb Foundation - The most advanced responsive front-end framework in the world.
Installation
- Install fresh Laravel
>=5.5 <7.0
project andcd
to your app, - Install this preset via
composer require laravel-frontend-presets/zurb-foundation --dev
(package will be discovered automatically, no need to register the service provider), - Apply one of the following preset configurations:
- Use
php artisan preset foundation
for basic preset without Authentication including core functions and only welcome page view, - Use
php artisan preset foundation-auth
for full preset with Authentication including basic preset, authentication controllers, views and route entries, all in one go (NOTE: If you run this command several times, be sure to clean up the duplicated entries fromroutes/web.php
file),
- Use
- Run
npm install && npm run dev
to compile your fresh scaffolding, - If you decided to use full preset with Authentication, you also need to:
- Configure your favorite database (mysql, sqlite, etc.),
- Run
php artisan migrate
to create basic user tables in the database,
- Run
php artisan serve
(or equivalent) to run server and test preset.
Dependencies
Those front-end dependencies will be added to the NPM project during preset installation:
- foundation-sites ^6.5,
- jquery ^3.2.