diff options
Diffstat (limited to 'viewer/win_start_vueui.cmd')
-rw-r--r-- | viewer/win_start_vueui.cmd | 43 |
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 | ||
2 | set NODE_VERSION=12.14.0 | ||
3 | set VUECLI_VERSION=4.2.2 | ||
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 | npm view -g @vue/cli version | find /i "%VUECLI_VERSION%" | ||
22 | if 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 | ) | ||
31 | echo. | ||
32 | echo === npm install === | ||
33 | cmd /c npm install | ||
34 | echo. | ||
35 | echo === npm prune === | ||
36 | cmd /c npm prune | ||
37 | echo. | ||
38 | echo === npm dedupe === | ||
39 | cmd /c npm dedupe | ||
40 | echo. | ||
41 | echo === vue ui === | ||
42 | title Vue UI - server | ||
43 | vue ui | ||