Download the PHP package laravelnews/laravel-twbs4 without Composer
On this page you can find all versions of the php package laravelnews/laravel-twbs4. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravelnews/laravel-twbs4
More information about laravelnews/laravel-twbs4
Files in laravelnews/laravel-twbs4
Package laravel-twbs4
Short Description Laravel 5 frontend preset for Twitter Bootstrap 4
License MIT
Informations about the package laravel-twbs4
Laravel 5.5 Frontend Preset for Boostrap 4
Note: Laravel 5.6 includes Bootstrap 4, this preset is only needed for Laravel <= Laravel 5.5 LTS
If you are upgrading a Laravel <= 5.5 application, remove this preset (laravelnews/laravel-twbs4
) from your composer.json
file. Laravel 5.6 includes Bootstrap 4, and this preset isn't necessary.
A Laravel frontend preset for Bootstrap 4, the latest version of Bootstrap.
Current version is the stable release of ^4.0.0
. To learn more about updating to the latest major release of Bootstrap, read the Migrating to v4 documentation.
Installation
You can install this package via composer:
The package will automatically register it's service provider.
Install the basic preset to only update the CSS and JavaScript files:
Or if you want to install everything, including auth views:
Next, update NPM packages and build the CSS/JavaScript:
Or via NPM:
Important: Make sure you have a backup of your code. The presets update package.json
, and replace views, CSS, and JavaScript.
jQuery Slim
Bootstrap's download page includes jQuery slim. If you need $.ajax
, effects, and deprecated methods, you can change the following line in resources/assets/js/boostrap.js
to use the full jQuery installation:
With full jQuery:
Variables
The Bootstrap 4 presets include the same familiar resources/assets/scss/_variables.scss
file, with some updated values to match Bootstrap 4 variable changes. This preset looks similar to the current 3.x
version that ships with Laravel, but isn't identical.
Here are the variables ported over thus far:
Screenshots
License
The MIT License (MIT). See License File for more information.