devextreme-vue
Version:
DevExtreme UI and Visualization Components for Vue
22 lines (20 loc) • 604 B
JavaScript
/*!
* devextreme-vue
* Version: 25.2.7
* Build date: Tue May 05 2026
*
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://github.com/DevExpress/DevExtreme
*/
import * as VueType from 'vue';
export function getVueVersion() {
const currentVersion = VueType.version;
return currentVersion ? Number(currentVersion.split('.')[0]) : 2;
}
export function isVue3() {
return getVueVersion() === 3;
}