src/Complement.php
public static function script($pathUrl = null, $vue = true, $vueResource = true)
    {
        $that = self::getInstance();

        $file = $vue ? 'vue+' : '';
        $file .= $vueResource ? 'vue-resource+' : '';

        return $that->setFile($file . 'eliasis-complement.min', 'script', $pathUrl);
    }
public static function script($pathUrl = null, $vue = true, $vueResource = true)
    {
        $that = self::getInstance();

        $file = $vue ? 'vue+' : '';
        $file .= $vueResource ? 'vue-resource+' : '';

        return $that->setFile($file . 'eliasis-complement.min', 'script', $pathUrl);
    }
public static function script ( $ pathUrl = null , $ vue = true , $ vueResource = true ) { $ that = self :: getInstance ( ) ; $ file = $ vue ? 'vue+' : '' ; $ file .= $ vueResource ? 'vue-resource+' : '' ; return $ that -> setFile ( $ file . 'eliasis-complement.min' , 'script' , $ pathUrl ) ; }
Set and get script url.

@param string $pathUrl     → url where JS files will be created & loaded
@param bool   $vue         → include Vue.js in the script
@param bool   $vueResource → include vue-resource in the script

@uses \Eliasis\Complement\ComplementView::setFile()

@return string → script url
Set and get script url .