mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-13 06:31:01 +01:00
d3293f9524
Signed-off-by: kubawolanin <hi@kubawolanin.com> |
||
---|---|---|
.. | ||
META-INF | ||
OSGI-INF | ||
src/main/java/org/openhab/ui/homebuilder/internal | ||
web | ||
.classpath | ||
.eslintrc.json | ||
.gitattributes | ||
.project | ||
about.html | ||
build.properties | ||
pom.xml | ||
README.md | ||
USAGE.md |
Home Builder
Boilerplate for the Items, sitemap files and HABPanel dashboard.
Usage
See USAGE.md file for reference.
Development
HomeBuilder UI is an app based on Vue.js framework. In order to setup the development environment simply run:
cd web
npm install
npm run dev
The first command will install all necessary dependencies (including Webpack build system).
npm run dev
, however, will serve the build with hot reload at http://localhost:8080
.
It's recommended to debug the app on Chrome or Firefox with Vue.js devtools extension.
When you're done with your changes and would like to test HomeBuilder on a real environment, run the following command:
# build for production with minification
npm run build
It will build the app inside /web/dist/
folder with source map included.