javascript - In laravel 4, How to render in template (blade) plain css or js from file? -


i have in laravel/app/views/css file style.css , not public, how can use in template using <style></style>. don't want link (<link href="style.css" rel="stylesheet">), plain text inside html.

i kwon how blade:

<link href="style.css" rel="stylesheet"> 

but want learn how file:

<style> //css code </style> 

with twig know can this: <style> {{ include(//link css file) }} </style>

the way know can blade is:

rename login.css login.blade.php

<style type="text/css" media="screen">     @include('css.login') </style> 

have way?

you don't need way, fine.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -