Explorar el Código

Add developing instructions

Johannes Zellner hace 9 años
padre
commit
b81fef99e6
Se han modificado 1 ficheros con 10 adiciones y 2 borrados
  1. 10 2
      README.md

+ 10 - 2
README.md

@@ -1,3 +1,11 @@
-Build the frontend:
+## Building resources
 
-browserify -t vueify -e ./frontend/js/main.js -o ./frontend/js/bundle.js
+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
+```