diff --git a/src/assets/IntrojsAsset.php b/src/assets/IntrojsAsset.php index 654f838..e9fdd3a 100644 --- a/src/assets/IntrojsAsset.php +++ b/src/assets/IntrojsAsset.php @@ -6,13 +6,15 @@ class IntrojsAsset extends AssetBundle { - public $sourcePath = '@vendor/bower-asset/intro.js/minified/'; - public $css = [ - 'introjs.min.css', + 'https://cdn.jsdelivr.net/npm/intro.js@5.1.0/introjs.css', ]; public $js = [ - 'intro.min.js', + 'https://cdn.jsdelivr.net/npm/intro.js@5.1.0/intro.min.js', + ]; + + public $jsOptions = [ + 'defer' => 'defer', ]; } \ No newline at end of file