2019-02-09 19:42:36 +04:00
|
|
|
# frontend
|
|
|
|
|
2023-11-15 14:50:50 -05:00
|
|
|
## Node Requirements
|
|
|
|
You can use either [fnm](https://github.com/Schniz/fnm) or [nvm](https://github.com/nvm-sh/nvm) to manage your Node.js versions.
|
|
|
|
|
|
|
|
### Using nvm
|
|
|
|
If you prefer nvm, run the following command to install the recommended Node.js version:
|
|
|
|
```
|
|
|
|
nvm install
|
|
|
|
```
|
|
|
|
|
|
|
|
### Using fnm
|
|
|
|
If you prefer fnm, run the following command to install the recommended Node.js version:
|
|
|
|
```
|
|
|
|
fnm install
|
|
|
|
```
|
|
|
|
|
2019-02-09 19:42:36 +04:00
|
|
|
## Project setup
|
|
|
|
```
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
### Compiles and hot-reloads for development
|
|
|
|
```
|
|
|
|
npm run serve
|
|
|
|
```
|
|
|
|
|
|
|
|
### Compiles and minifies for production
|
|
|
|
```
|
|
|
|
npm run build
|
|
|
|
```
|
|
|
|
|
|
|
|
### Run your tests
|
|
|
|
```
|
|
|
|
npm run test
|
|
|
|
```
|
|
|
|
|
|
|
|
### Lints and fixes files
|
|
|
|
```
|
|
|
|
npm run lint
|
|
|
|
```
|
|
|
|
|
|
|
|
### Run your unit tests
|
|
|
|
```
|
|
|
|
npm run test:unit
|
|
|
|
```
|