Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i use in php view #45

Open
umairali opened this issue Jun 21, 2018 · 1 comment
Open

How can i use in php view #45

umairali opened this issue Jun 21, 2018 · 1 comment

Comments

@umairali
Copy link

umairali commented Jun 21, 2018

I am try to add in php view not in php blade but its showing only <style></style> tag not the actual tag with url. Below is my code.

Controller
$css["css"] = array(url("/") . '/assets/css/web/register.css');

Php View
<?php if (isset($css)) { foreach ($css as $style) { echo \Minify::stylesheet($style); }} ?>

@umairali
Copy link
Author

if i use echo its showing actual file not minify file.

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

No branches or pull requests

1 participant