docs(web-app): describe how to correctly install and run
the base project
This commit is contained in:
@@ -1,11 +1,21 @@
|
|||||||
# web-app
|
# web-app
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
Install npm and NodeJS from [here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
|
||||||
|
|
||||||
## Project setup
|
## 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
|
npm install
|
||||||
```
|
```
|
||||||
|
If you have any problem try the next command :
|
||||||
|
```
|
||||||
|
npm install ./ --legacy-peer-deps
|
||||||
|
```
|
||||||
|
|
||||||
### Compiles and hot-reloads for development
|
### Compiles and hot-reloads for development
|
||||||
|
Run a preview on localhost
|
||||||
```
|
```
|
||||||
npm run serve
|
npm run serve
|
||||||
```
|
```
|
||||||
@@ -16,6 +26,7 @@ npm run build
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Lints and fixes files
|
### Lints and fixes files
|
||||||
|
Run the linter integrated
|
||||||
```
|
```
|
||||||
npm run lint
|
npm run lint
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user