Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Feature: Changing framework or multiple frameworks #77

Open
wenfei-huang opened this issue Jan 6, 2022 · 2 comments
Open

Feature: Changing framework or multiple frameworks #77

wenfei-huang opened this issue Jan 6, 2022 · 2 comments

Comments

@wenfei-huang
Copy link

My site uses tailwind and bootstrap. Is it possible to use multiple frameworks?

For example on bootstrap4_index.blade.php I declare to use framework bootstrap 4 and on tailwind_index.blade.php I declare to use tailwind framework.
Or using prefixes with a framework, where you can set a prefix bound to a framework? For example and

@mrl22
Copy link
Contributor

mrl22 commented Apr 5, 2022

I believe tailwind and bootstrap conflict on CSS styles, I would advise against loading them both.

@Patabugen
Copy link

Patabugen commented Aug 11, 2022

I've got Bootstrap on the back end, but Tailwind on the front end - is there a way to specify on a per-form basis which framework to use?

For example:

@template('tailwind');

@endtemplate

Or perhaps a @config blade directive?

Workaround

I'm not mixing and matching templates, but using different ones on different overall layouts - so as a workaround I'm able to set the framework config in my controllers as-required.

config(['form-components.framework' => 'tailwind']);

I would second what @mrl22 says - having Tailwind and Bootstrap on the same page is probably not the path to happiness!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants