add-resource-file.php
<?php
$lia->addResourceFile(dirname(__DIR__).'/file/test.css');
// $url = $lia->addons['server']['resources']->getFile
$url = $lia->addons['resources']->getCompiledFilesUrl('css');
echo $url;
exit;
<?php
$lia->addResourceFile(dirname(__DIR__).'/file/test.css');
// $url = $lia->addons['server']['resources']->getFile
$url = $lia->addons['resources']->getCompiledFilesUrl('css');
echo $url;
exit;