Vue-dom is a web front end for home automation software (currently only support Jeedom).
Check out the live demo (since using mock data, there is no effective action and inconsistencies may occur).
For basic use, you just have to:
download latest release tar.gz archive,
unarchive in /var/www/vue-dom/
,
add following lines in Apache virtual hosts /etc/apache2/sites-enabled/default-ssl.conf
and /etc/apache2/sites-enabled/000-default.conf
, inside <VirtualHost>
section:
alias /vue-dom/ /var/www/vue-dom/
<Directory /var/www/vue-dom>
Options -Indexes -FollowSymLinks -MultiViews -ExecCGI
AllowOverride none
Order allow,deny
allow from all
</Directory>
set your back end (Jeedom) url in /var/www/vue-dom/local.js
.
If you are using Docker, you can download the Dockerfile and build image with your own url:
docker build \
-f Dockerfile \
-t nioc/vue-dom:nginx-alpine-latest \
--build-arg JSON_RPC_API_URL=https://192.168.1.50/core/api/jeeApi.php \
--build-arg WEBSOCKET_URL=wss://192.168.1.50/socket/ .
And then run application in container:
docker run -d -p 80:80 --rm --name vue-dom-1 nioc/vue-dom:nginx-alpine-latest
For more advanced use (adding your own component, style, …), you have to follow the contributing guide and edit Vue code.
Vue-dom is maintained under the semantic versioning guidelines.
See the releases on this repository for changelog.
If you have a suggestion for a feature you think would enhance this product, please submit a feature request. Pull requests are welcomed. See contributing.
See also the list of contributors to this project.
This project is powered by the following components:
Author: nioc
Demo: https://nioc.github.io/vue-dom/#/login?redirect=%2F
Source Code: https://github.com/nioc/vue-dom
#vuejs #vue #javascript