src/Managers/Modules.php
public function asset(string $module, string $path, $secure = null): string
    {
        if ($this->assetResolver && ($url = call_user_func($this->assetResolver, $module, $path, $secure)) !== null) {
            return $url;
        }

        return $this->app->make('url')->asset($this->getAssetsPath() . "/{$module}/" . $path, $secure);
    }
public function asset(string $module, string $path, $secure = null): string
    {
        if ($this->assetResolver && ($url = call_user_func($this->assetResolver, $module, $path, $secure)) !== null) {
            return $url;
        }

        return $this->app->make('url')->asset($this->getAssetsPath() . "/{$module}/" . $path, $secure);
    }
Get module asset.

@param string $module
@param string $path
@param null   $secure

@return string