Talesoft / tale-jade-laravel

A adapter to use Jade templates with the Laravel-framework
http://jade.talesoft.io
MIT License
3 stars 0 forks source link

Tale Jade for Laravel


This library provides the ability to use Jade-templates with the Laravel Framework


Usage

Download and install via composer

$ composer require "talesoft/tale-jade-laravel:*"
$ composer install

Add the service provider to your config/app.php-file (Right below the other ones)

        /*
         * Application Service Providers...
         */
        App\Providers\AppServiceProvider::class,
        App\Providers\AuthServiceProvider::class,
        App\Providers\EventServiceProvider::class,
        App\Providers\RouteServiceProvider::class,
        [...]

        Tale\Jade\Bridge\Laravel\ServiceProvider::class,

You can now create <template-name>.jade-files inside your resources/views directory and use them directly. All features work correctly.