Skip to content

Commit 22403e4

Browse files
committed
Update VueHeadSectionV2.php
1 parent 02c793e commit 22403e4

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Themes/VuetifyCore/VueHeadSectionV2.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ class VueHeadSectionV2 extends CommonHead {
1111
/**
1212
* Creates new instance of the class.
1313
*/
14-
public function __construct(WebPage $page) {
14+
public function __construct(?WebPage $page = null) {
1515
parent::__construct($page);
16-
$vueVersion = '2.7.16';
17-
$vuetifyVersion = '2.7.2';
16+
define('VUE_VERSION', '2.7.16');
17+
define('VUETIFY_VERSION', '2.7.2');
18+
19+
$vueVersion = VUE_VERSION;
20+
$vuetifyVersion = VUETIFY_VERSION;
1821

1922
if (defined('WF_VERBOSE') && WF_VERBOSE) {
2023
$this->addJs("https://unpkg.com/vue@$vueVersion/dist/vue.js", [

0 commit comments

Comments
 (0)