aboutsummaryrefslogtreecommitdiff
path: root/viewer/win_start_vueui.cmd
diff options
context:
space:
mode:
authorNotkea2020-01-10 22:31:47 +0100
committerGitHub2020-01-10 22:31:47 +0100
commit7042ffc06326fa8ffe70f5a59747709250166c16 (patch)
treedbfc7567bd106e03a47b499d2a07cecb6b8d6305 /viewer/win_start_vueui.cmd
parentc9264b0a0a7e1cb92ef7d9a391cee2c94376cff3 (diff)
parent27b51018525dbb7a6edb3073819d82245387ddd3 (diff)
downloadldgallery-7042ffc06326fa8ffe70f5a59747709250166c16.tar.gz
Merge pull request #34 from pacien/develop
first working prototype
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