forked from jasonlewis/basset
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroutes.php
More file actions
34 lines (32 loc) · 923 Bytes
/
routes.php
File metadata and controls
34 lines (32 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/*
|--------------------------------------------------------------------------
| Basset Routes
|--------------------------------------------------------------------------
|
| Registering routes with Basset is a piece of cake. Simply tell Basset
| what you would like to use (scripts or styles) and begin registering your
| assets.
|
| Let's register styles that respond to http://localhost/basset/website.css
|
| Basset::styles('website', function($basset)
| {
| $basset->add('theme', 'theme.css');
| });
|
| The extension and the bundles handler is added automatically for you, all
| you need to do is supply a name.
|
| If you'd like to register scripts, simply swap 'styles' with 'scripts'
| and begin adding your assets.
|
*/
/*Basset::styles('example', function($basset)
{
$basset->add('theme', 'theme.css');
});
Basset::scripts('example', function($basset)
{
$basset->add('jquery', 'jquery.js');
});*/