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.cmd32
1 files changed, 32 insertions, 0 deletions
diff --git a/viewer/win_start_vueui.cmd b/viewer/win_start_vueui.cmd
new file mode 100644
index 0000000..cee15e8
--- /dev/null
+++ b/viewer/win_start_vueui.cmd
@@ -0,0 +1,32 @@
1@echo off
2set NODE_VERSION=12.14.0
3set VUECLI_VERSION=4.1.1
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.
21echo === npm install ===
22cmd /c npm install
23echo.
24echo === npm prune ===
25cmd /c npm prune
26echo.
27echo === npm dedupe ===
28cmd /c npm dedupe
29echo.
30echo === vue ui ===
31title Vue UI - server
32vue ui