Support the ongoing development of Laravel.io →
Configuration Views Blade
Last updated 2 years ago.
0

Use an asset manager like the one by teepluss and at runtime nclude dinamically a stylesheet accordingly with each site setting

Last updated 2 years ago.
0

I currently have teepluss installed, but I can't figure out how to use @extends, or @includes, and passing $data to master layouts. This support might not be included in teepluss.

Last updated 2 years ago.
0

post a gist or something else with some rows of code. we need to understand your setup

Last updated 2 years ago.
0

Teepluss is installed. This is currently broken. The blade files worked fine in app/views. I don't know how to make them work in Teepluss. I like the idea of using public/themes/ tree for my views and assets.

This was my attempt at using Teepluss to accomplish the goal of using more than one "theme" with separation. I'm open to handling it differently without using Teepluss.

public/themes/default/views/home/index.blade.php https://gist.github.com/darkness/9653577

public/themes/default/layouts/master.blade.php https://gist.github.com/darkness/9653724

app/controllers/HomeController.php https://gist.github.com/darkness/9653807

Last updated 2 years ago.
0

Hi! You can try my package igaster/laravel-theme

Features:

  • Views & Asset seperation in theme folders
  • Theme inheritence: Extend any theme and create Theme hierarcies

Your views remain theme-agnostic.... All your blade syntax works untouched (@include, @extend etc)

As a benefit, it integrates with orchestra/asset to provide advances asset managment...

0

Sign in to participate in this thread!

Eventy

Your banner here too?

darkness darkness Joined 1 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.