39 lines
618 B
Markdown
39 lines
618 B
Markdown
# tethys.frontend is a typescript-vueapp
|
|
|
|
## Project setup
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
## create .env file for environments
|
|
|
|
```bash
|
|
cp .env.example .env
|
|
```
|
|
|
|
### Compiles and hot-reloads for development
|
|
|
|
```bash
|
|
npm run serve
|
|
```
|
|
|
|
### Compiles and minifies for production
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
Check out deployment instructions at <https://cli.vuejs.org/guide/deployment.html> \
|
|
After building, copy the dist folder to the web root of your Nginx server.
|
|
|
|
### Lints and fixes files
|
|
|
|
```bash
|
|
npm run lint
|
|
```
|
|
|
|
### Customize build and dev configuration
|
|
|
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|