aboutsummaryrefslogtreecommitdiff
path: root/viewer/readme.md
diff options
context:
space:
mode:
authorzeroinformatique2021-07-02 18:08:13 +0200
committerGitHub2021-07-02 18:08:13 +0200
commit08ac32103fb5f8cca1861267dfd07a7c0d2faf62 (patch)
tree6e70da08a58890eac806d98a127551e9f67994a9 /viewer/readme.md
parent1cf6dd4243a72935d382d62bb2a79ff13186e70d (diff)
parent90b0994ea7be0052fc6d868c98e1de8c835f2ba1 (diff)
downloadldgallery-08ac32103fb5f8cca1861267dfd07a7c0d2faf62.tar.gz
Merge pull request #299 from ldgallery/oz-yarn
viewer: compilation chain upgrade
Diffstat (limited to 'viewer/readme.md')
-rw-r--r--viewer/readme.md19
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 @@
3If you get errors with optionals and coalesce, enable the Vetur global preference: useWorkspaceDependencies 3If you get errors with optionals and coalesce, enable the Vetur global preference: useWorkspaceDependencies
4 4
5## Project setup 5## Project setup
6``` 6
7npm install 7```sh
8yarn
8``` 9```
9 10
10### Compiles and hot-reloads for development 11### Compiles and hot-reloads for development
@@ -12,18 +13,20 @@ npm install
12The viewer DevServer will serve the compiled version of the example gallery by default. 13The viewer DevServer will serve the compiled version of the example gallery by default.
13To override, create a file .env.development.local 14To override, create a file .env.development.local
14 15
15``` 16```sh
16npm run serve 17yarn run serve
17``` 18```
18 19
19### Compiles and minifies for production 20### Compiles and minifies for production
20``` 21
21npm run build 22```sh
23yarn run build
22``` 24```
23 25
24### Lints and fixes files 26### Lints and fixes files
25``` 27
26npm run lint 28```sh
29yarn run lint
27``` 30```
28 31
29### Customize configuration 32### Customize configuration