47 lines
720 B
Markdown
47 lines
720 B
Markdown
# frontend
|
|
|
|
## 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
|
|
```
|
|
|
|
## 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
|
|
```
|