luyadev/luya-kickstarter-bootstrap4

LUYA boilerplate to kickstart projects with Bootstrap 4.

1.1.0 2019-12-12 11:45 UTC

This package is auto-updated.

Last update: 2020-04-04 17:36:41 UTC


README

LUYA Logo

LUYA Bootstrap 4 Kickstarter Application

LUYA Total Downloads License Slack Support

Attention: As of Bootstrap 4, the grid is completely written in FLEX. Check the Browser Support to decide if you want to use Bootstrap 4 for your Project.

Installation

composer create-project luyadev/luya-kickstarter-bootstrap4

Front-End

Libraries

These libraries are included and avaible.

» jQuery (yii\web\JqueryAsset)
» Bootstrap v4-beta (CSS & JS)

Bootstrap is included as a composer requirement

Compiling

We have created our own NPM Package that includes our gulp workflow.
Everything is prepared inside the resources/ folder.

See zephir/zephir-gulp-workflow for a full documentation of the workflow.

Backend

Assets

To speed up your local development you can uncomment the following lines in configs/local.php in order to use symlinking your assets instead of copy them every run.

'assetManager' => [
    'class' => 'luya\web\AssetManager',
    'linkAssets' => true,
],

Now all assets will be symlinked and not copied.

This will also enable CSS instant reload provided by browserSync (gulp).