diff options
author | Notkea | 2020-01-10 22:31:47 +0100 |
---|---|---|
committer | GitHub | 2020-01-10 22:31:47 +0100 |
commit | 7042ffc06326fa8ffe70f5a59747709250166c16 (patch) | |
tree | dbfc7567bd106e03a47b499d2a07cecb6b8d6305 /viewer/win_start_vueui.cmd | |
parent | c9264b0a0a7e1cb92ef7d9a391cee2c94376cff3 (diff) | |
parent | 27b51018525dbb7a6edb3073819d82245387ddd3 (diff) | |
download | ldgallery-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.cmd | 32 |
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 | ||
2 | set NODE_VERSION=12.14.0 | ||
3 | set VUECLI_VERSION=4.1.1 | ||
4 | |||
5 | chcp 65001 | ||
6 | echo. | ||
7 | echo === nvm install === | ||
8 | nvm install %NODE_VERSION% | ||
9 | nvm list | find /i "%NODE_VERSION% (Currently" | ||
10 | if 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 | ) | ||
20 | echo. | ||
21 | echo === npm install === | ||
22 | cmd /c npm install | ||
23 | echo. | ||
24 | echo === npm prune === | ||
25 | cmd /c npm prune | ||
26 | echo. | ||
27 | echo === npm dedupe === | ||
28 | cmd /c npm dedupe | ||
29 | echo. | ||
30 | echo === vue ui === | ||
31 | title Vue UI - server | ||
32 | vue ui | ||