aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
Diffstat (limited to 'viewer')
-rw-r--r--viewer/win_start_vueui.cmd43
1 files changed, 0 insertions, 43 deletions
diff --git a/viewer/win_start_vueui.cmd b/viewer/win_start_vueui.cmd
deleted file mode 100644
index 7825df3..0000000
--- a/viewer/win_start_vueui.cmd
+++ /dev/null
@@ -1,43 +0,0 @@
1@echo off
2set NODE_VERSION=12.14.0
3set VUECLI_VERSION=4.2.2
4
5chcp 65001
6echo.
7echo === nvm install ===
8nvm install %NODE_VERSION%
9nvm list | find /i "%NODE_VERSION% (Currently"
10if errorlevel 1 (
11 echo.
12 echo === nvm use %NODE_VERSION% ===
13 nvm use %NODE_VERSION%
14
15 echo.
16 echo === npm install @vue/cli@%VUECLI_VERSION% ===
17 ping localhost -n 3 >NUL
18 cmd /c npm install -g @vue/cli@%VUECLI_VERSION%
19)
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.
32echo === npm install ===
33cmd /c npm install
34echo.
35echo === npm prune ===
36cmd /c npm prune
37echo.
38echo === npm dedupe ===
39cmd /c npm dedupe
40echo.
41echo === vue ui ===
42title Vue UI - server
43vue ui