Skip to content

Great Improvements

Compare
Choose a tag to compare
@darryldecode darryldecode released this 30 Aug 13:34
· 13 commits to master since this release

UPGRADE GUIDE:

1st Run:

If you have custom components or widgets, open the Component.php or Widget.php file and implement the required new abstract methods:

/**
     * you can add scripts or css links here on header
     *
     * @return array
     */
    public function getHeaderScripts()
    {
        /*
        NOTE:

        css and js are important keys to identify whether a link is a javascript or css
        notice that forward slash in the beginning is present. Don't miss that!

        example:

        array(
            'css' => array(
                '/my-component/css/component-style.css',
                '/my-component/css/component-style2.css',
            ),
            'js' => array(
                '/my-component/js/component-js.js',
                '/my-component/js/component-js.js',
            )
        );

        */

        return array();
    }

    /**
     * you can add scripts or css links here on footer
     *
     * @return array
     */
    public function getFooterScripts()
    {
        /*
        NOTE:

        css and js are important keys to identify whether a link is a javascript or css
        notice that forward slash in the beginning is present. Don't miss that!

        example:

        array(
            'js' => array(
                '/my-component/js/component-js.js',
                '/my-component/js/component-js.js',
            )
        );

        */

        return array();
    }

2nd Run:

composer update "darryldecode/laravelbackend"