From d04cd8adddeefc0ae540761c82864939e826dc9f Mon Sep 17 00:00:00 2001 From: fastium Date: Mon, 31 Mar 2025 12:44:18 +0200 Subject: [PATCH] docs(web-app): describe how to correctly install and run the base project --- web-app/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web-app/README.md b/web-app/README.md index 9ee4ae4..0bb5ac7 100644 --- a/web-app/README.md +++ b/web-app/README.md @@ -1,11 +1,21 @@ # web-app +## Installation +Install npm and NodeJS from [here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) + ## Project setup +Install all dependencies of the npm project. It needs to have [Vue](https://cli.vuejs.org/guide/installation.html) in global ``` +sudo npm install -g @vue/cli npm install ``` +If you have any problem try the next command : +``` +npm install ./ --legacy-peer-deps +``` ### Compiles and hot-reloads for development +Run a preview on localhost ``` npm run serve ``` @@ -16,6 +26,7 @@ npm run build ``` ### Lints and fixes files +Run the linter integrated ``` npm run lint ```