Closed nunomaduro closed 3 years ago
At this point, we already have an HTML-like API where you can do stuff like so:
use function Termwind\{div}; div('Hello World', 'ml-2')->render(); // renders " Hello World" on the console
The goal of this issue to create a new function with the name render that accepts an HTML string and renders the console output like so:
render
use function Termwind\{render}; render('<div class="m-2">Hello World</div>'); // renders " Hello World" on the console
At this point, we already have an HTML-like API where you can do stuff like so:
The goal of this issue to create a new function with the name
render
that accepts an HTML string and renders the console output like so: