platypush/platypush/backend/http/webapp/README.md

32 lines
687 B
Markdown
Raw Normal View History

2020-12-26 15:03:12 +01:00
# Platypush web app
The UI for Platypush is built with Vue 3. The production-ready files are distributed with the package under `platypush/backend/http/dist`. If you want to change/debug/redistribute some parts of the UI you'll need `npm` installed. The directory of this file is the root of the web app project and all the following commands should be typed from here.
2020-11-21 01:12:08 +01:00
## Project setup
2020-12-26 15:03:12 +01:00
2020-11-21 01:12:08 +01:00
```
npm install
```
2020-12-26 15:03:12 +01:00
### Compilation and hot-reload for development
2020-11-21 01:12:08 +01:00
```
npm run serve
```
### Compiles and minifies for production
2020-12-26 15:03:12 +01:00
2020-11-21 01:12:08 +01:00
```
npm run build
```
### Lints and fixes files
2020-12-26 15:03:12 +01:00
2020-11-21 01:12:08 +01:00
```
npm run lint
```
### Customize configuration
2021-01-14 00:15:35 +01:00
2020-11-21 01:12:08 +01:00
See [Configuration Reference](https://cli.vuejs.org/config/).