aboutsummaryrefslogtreecommitdiff
path: root/viewer/win_start_vueui.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/win_start_vueui.cmd')
-rw-r--r--viewer/win_start_vueui.cmd13
1 files changed, 12 insertions, 1 deletions
diff --git a/viewer/win_start_vueui.cmd b/viewer/win_start_vueui.cmd
index cee15e8..7825df3 100644
--- a/viewer/win_start_vueui.cmd
+++ b/viewer/win_start_vueui.cmd
@@ -1,6 +1,6 @@
1@echo off 1@echo off
2set NODE_VERSION=12.14.0 2set NODE_VERSION=12.14.0
3set VUECLI_VERSION=4.1.1 3set VUECLI_VERSION=4.2.2
4 4
5chcp 65001 5chcp 65001
6echo. 6echo.
@@ -18,6 +18,17 @@ if errorlevel 1 (
18 cmd /c npm install -g @vue/cli@%VUECLI_VERSION% 18 cmd /c npm install -g @vue/cli@%VUECLI_VERSION%
19) 19)
20echo. 20echo.
21npm view -g @vue/cli version | find /i "%VUECLI_VERSION%"
22if errorlevel 1 (
23 echo ======================================================================
24 echo Warning: vue/cli doesn't match the requested version: %VUECLI_VERSION%
25 echo.
26 echo CTRL+C to quit and update, or press a key to ignore this warning...
27 echo ======================================================================
28 echo.
29 pause
30)
31echo.
21echo === npm install === 32echo === npm install ===
22cmd /c npm install 33cmd /c npm install
23echo. 34echo.