承接 laravelnews/laravel-twbs4 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

laravelnews/laravel-twbs4

最新稳定版本:1.3.2

Composer 安装命令:

composer require laravelnews/laravel-twbs4

包简介

Laravel 5 frontend preset for Twitter Bootstrap 4

README 文档

README

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.

bootstrap-4-preset.png

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:

composer require laravelnews/laravel-twbs4

The package will automatically register it's service provider.

Install the basic preset to only update the CSS and JavaScript files:

php artisan preset bootstrap4

Or if you want to install everything, including auth views:

php artisan preset bootstrap4-auth

Next, update NPM packages and build the CSS/JavaScript:

yarn && yarn dev

Or via NPM:

npm install && npm run dev

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:

window.$ = window.jQuery = require('jquery/dist/jquery.slim');

With full jQuery:

// Full jQuery
window.$ = window.jQuery = require('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:

// Body
$body-bg: #fff;

// Borders
$laravel-border-color: darken($body-bg, 10%);
$list-group-border-color: $laravel-border-color;

$card-border-color: $laravel-border-color;

// Brands
$primary: #3097D1;
$info: #8eb4cb;
$success: #2ab27b;
$warning: #cbb956;
$danger: #bf5329;

// Typography
$font-family-sans-serif: "Raleway", sans-serif;
$font-size-base: .875rem; // 14px
$line-height-base: 1.6;
$text-color: #636b6f;

// Inputs
$input-border-color: lighten($text-color, 40%);
$input-placeholder-color: lighten($text-color, 30%);

Screenshots

Login

Register

Register

License

The MIT License (MIT). See License File for more information.

laravelnews/laravel-twbs4 适用场景与选型建议

laravelnews/laravel-twbs4 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 77.15k 次下载、GitHub Stars 达 236, 最近一次更新时间为 2017 年 11 月 06 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 laravelnews/laravel-twbs4 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 laravelnews/laravel-twbs4 我们能提供哪些服务?
定制开发 / 二次开发

基于 laravelnews/laravel-twbs4 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 77.15k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 239
  • 点击次数: 14
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 236
  • Watchers: 10
  • Forks: 19
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-06