Brak opisu

Johannes Zellner b81fef99e6 Add developing instructions 9 lat temu
backend d635d4a58e Make light selection work 9 lat temu
frontend d635d4a58e Make light selection work 9 lat temu
.dockerignore 1603225254 Make it a cloudron app 9 lat temu
.gitignore f926115bb9 Ignore bundle.js 9 lat temu
CHANGELOG 1603225254 Make it a cloudron app 9 lat temu
CloudronManifest.json b86051d7a2 Add logo 9 lat temu
DESCRIPTION.md 1603225254 Make it a cloudron app 9 lat temu
Dockerfile 1603225254 Make it a cloudron app 9 lat temu
README.md b81fef99e6 Add developing instructions 9 lat temu
app.js 1603225254 Make it a cloudron app 9 lat temu
logo.png b86051d7a2 Add logo 9 lat temu
package.json 70f2c2d6e2 Add vue and vuefiy dev dependencies 9 lat temu
start.sh 1603225254 Make it a cloudron app 9 lat temu

README.md

Building resources

browserify -t vueify -t envify -e ./frontend/js/main.js -o ./frontend/js/bundle.js

Development

To develop the frontend watchify can be used and allows specifying an API_ENDPOINT to let the frontend work against a deployed server:

API_ENDPOINT=https://api.domain.com watchify -t vueify -t envify -e ./frontend/js/main.js -o ./frontend/js/bundle.js