Skip to content

Instantly share code, notes, and snippets.

@wayneashleyberry
Last active December 17, 2015 13:49
Show Gist options
  • Save wayneashleyberry/5619497 to your computer and use it in GitHub Desktop.
Save wayneashleyberry/5619497 to your computer and use it in GitHub Desktop.
Basset
  1. using latest L4 beta
  2. added "jasonlewis/basset": "dev-master" to my composer.json
  3. ran composer update
  4. added the alias and service provider
  5. tweaked the assets config
  6. added the blade tag
  7. blade tag just echo's out nothing :(
<?php
'collections' => array(
'app' => function($collection)
{
$directory = $collection->directory('css', function($collection)
{
$collection->add('normalize.css');
$collection->add('base.css');
$collection->add('layout.css');
});
}
),
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Biznews</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
@stylesheets('app')
</head>
<body>
{{ $content }}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment