diff options
author | zeroinformatique | 2021-07-02 18:08:13 +0200 |
---|---|---|
committer | GitHub | 2021-07-02 18:08:13 +0200 |
commit | 08ac32103fb5f8cca1861267dfd07a7c0d2faf62 (patch) | |
tree | 6e70da08a58890eac806d98a127551e9f67994a9 /scripts/dev_win_start_vueui.cmd | |
parent | 1cf6dd4243a72935d382d62bb2a79ff13186e70d (diff) | |
parent | 90b0994ea7be0052fc6d868c98e1de8c835f2ba1 (diff) | |
download | ldgallery-08ac32103fb5f8cca1861267dfd07a7c0d2faf62.tar.gz |
Merge pull request #299 from ldgallery/oz-yarn
viewer: compilation chain upgrade
Diffstat (limited to 'scripts/dev_win_start_vueui.cmd')
-rw-r--r-- | scripts/dev_win_start_vueui.cmd | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/scripts/dev_win_start_vueui.cmd b/scripts/dev_win_start_vueui.cmd deleted file mode 100644 index e1a124d..0000000 --- a/scripts/dev_win_start_vueui.cmd +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | @echo off | ||
2 | set NODE_VERSION=12.16.1 | ||
3 | set VUECLI_VERSION=4.2.3 | ||
4 | cd ..\viewer\ | ||
5 | |||
6 | chcp 65001 | ||
7 | echo. | ||
8 | echo === nvm install === | ||
9 | nvm install %NODE_VERSION% | ||
10 | nvm list | find /i "%NODE_VERSION% (Currently" | ||
11 | if errorlevel 1 ( | ||
12 | echo. | ||
13 | echo === nvm use %NODE_VERSION% === | ||
14 | nvm use %NODE_VERSION% | ||
15 | |||
16 | echo. | ||
17 | echo === npm install @vue/cli@%VUECLI_VERSION% === | ||
18 | ping localhost -n 3 >NUL | ||
19 | cmd /c npm install -g @vue/cli@%VUECLI_VERSION% | ||
20 | ) | ||
21 | echo. | ||
22 | vue --version | find /i "%VUECLI_VERSION%" | ||
23 | if errorlevel 1 ( | ||
24 | echo ====================================================================== | ||
25 | echo Warning: vue/cli doesn't match the requested version: %VUECLI_VERSION% | ||
26 | echo. | ||
27 | echo CTRL+C to quit and update, or press a key to ignore this warning... | ||
28 | echo ====================================================================== | ||
29 | echo. | ||
30 | pause | ||
31 | ) | ||
32 | echo. | ||
33 | echo === npm install === | ||
34 | cmd /c npm install | ||
35 | echo. | ||
36 | echo === npm prune === | ||
37 | cmd /c npm prune | ||
38 | echo. | ||
39 | echo === npm dedupe === | ||
40 | cmd /c npm dedupe | ||
41 | echo. | ||
42 | echo === vue ui === | ||
43 | title Vue UI - server | ||
44 | vue ui | ||