src/Vue.php
protected function registerJs()
    {
        VueAsset::register($this->getView());

        $options = Json::htmlEncode($this->clientOptions);
        $js = "var app = new Vue({$options})";
        $this->getView()->registerJs($js, View::POS_END);
    }
protected function registerJs()
    {
        VueAsset::register($this->getView());

        $options = Json::htmlEncode($this->clientOptions);
        $js = "var app = new Vue({$options})";
        $this->getView()->registerJs($js, View::POS_END);
    }
protected function registerJs ( ) { VueAsset :: register ( $ this -> getView ( ) ) ; $ options = Json :: htmlEncode ( $ this -> clientOptions ) ; $ js = "var app = new Vue({$options})" ; $ this -> getView ( ) -> registerJs ( $ js , View :: POS_END ) ; }
Registers a specific asset bundles.
@throws \yii\base\InvalidArgumentException
Registers a specific asset bundles .