File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 33/webtemp /
44/tests /nette-tester /webtemp /actual /
55/tests /nette-tester /output /
6- index.php
76composer.lock
87docker-compose.yml
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ <html lang="en">
3+ <head>
4+ <meta charset="UTF-8">
5+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6+ <title>Document</title>
7+ </head>
8+ <body>
9+ <?php
10+ require_once '../vendor/autoload.php ' ;
11+ // 1. Install dependencies
12+ // 2. Dump autoload
13+
14+ $ outputDir = './webtemp ' ;
15+ $ documentRoot = '/ ' ;
16+ $ publicPathPrefix = '/playground ' ; // Optional, can be a domain https://static.domain.com
17+ $ webloader = new \WebLoader \Engine ($ outputDir , $ documentRoot , $ publicPathPrefix );
18+
19+ $ webloader ->createFilesCollectionsFromConfig ('./bundles.neon ' );
20+ echo $ webloader ->getFilesCollectionRender ()->css ('my-bundle ' );
21+
22+ ?>
23+ </body>
24+ </html>
You can’t perform that action at this time.
0 commit comments