diff options
author | pacien | 2022-09-04 18:18:27 +0200 |
---|---|---|
committer | pacien | 2022-09-04 18:18:27 +0200 |
commit | 11bbbae2850b9c45da697a8ed9626495a50a38c0 (patch) | |
tree | ff2713118f8b45d36905bfea2933f08d8e70066d /viewer/readme.md | |
parent | e93f7b1eb84c083d67567115284c0002a3a7d5fc (diff) | |
parent | 8349be992b46b77dee921f484cfbff8b758ff756 (diff) | |
download | ldgallery-11bbbae2850b9c45da697a8ed9626495a50a38c0.tar.gz |
Merge branch 'develop': release v2.1v2.1
GitHub: related to #315
Diffstat (limited to 'viewer/readme.md')
-rw-r--r-- | viewer/readme.md | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/viewer/readme.md b/viewer/readme.md index 3757f3e..f8c1a3f 100644 --- a/viewer/readme.md +++ b/viewer/readme.md | |||
@@ -3,8 +3,9 @@ | |||
3 | If you get errors with optionals and coalesce, enable the Vetur global preference: useWorkspaceDependencies | 3 | If you get errors with optionals and coalesce, enable the Vetur global preference: useWorkspaceDependencies |
4 | 4 | ||
5 | ## Project setup | 5 | ## Project setup |
6 | ``` | 6 | |
7 | npm install | 7 | ```sh |
8 | yarn | ||
8 | ``` | 9 | ``` |
9 | 10 | ||
10 | ### Compiles and hot-reloads for development | 11 | ### Compiles and hot-reloads for development |
@@ -12,18 +13,20 @@ npm install | |||
12 | The viewer DevServer will serve the compiled version of the example gallery by default. | 13 | The viewer DevServer will serve the compiled version of the example gallery by default. |
13 | To override, create a file .env.development.local | 14 | To override, create a file .env.development.local |
14 | 15 | ||
15 | ``` | 16 | ```sh |
16 | npm run serve | 17 | yarn run serve |
17 | ``` | 18 | ``` |
18 | 19 | ||
19 | ### Compiles and minifies for production | 20 | ### Compiles and minifies for production |
20 | ``` | 21 | |
21 | npm run build | 22 | ```sh |
23 | yarn run build | ||
22 | ``` | 24 | ``` |
23 | 25 | ||
24 | ### Lints and fixes files | 26 | ### Lints and fixes files |
25 | ``` | 27 | |
26 | npm run lint | 28 | ```sh |
29 | yarn run lint | ||
27 | ``` | 30 | ``` |
28 | 31 | ||
29 | ### Customize configuration | 32 | ### Customize configuration |