From 90b0994ea7be0052fc6d868c98e1de8c835f2ba1 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 2 Jul 2021 14:05:37 +0200 Subject: viewer: update commands in readme for yarn --- viewer/readme.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'viewer/readme.md') 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 @@ If you get errors with optionals and coalesce, enable the Vetur global preference: useWorkspaceDependencies ## Project setup -``` -npm install + +```sh +yarn ``` ### Compiles and hot-reloads for development @@ -12,18 +13,20 @@ npm install The viewer DevServer will serve the compiled version of the example gallery by default. To override, create a file .env.development.local -``` -npm run serve +```sh +yarn run serve ``` ### Compiles and minifies for production -``` -npm run build + +```sh +yarn run build ``` ### Lints and fixes files -``` -npm run lint + +```sh +yarn run lint ``` ### Customize configuration -- cgit v1.2.3